by UltraSane · 2mo ago · 0 comments
1. Extract the data representation
Ask the LLM to represent your code as any combination of:
graphs
ontologies
hierarchical state machines
UML process charts
constraints
math formulae
2 Operate on the representations3 Convert representations back to code
My gut feeling is this is doing way too much, and it would've figured it out.
The whole point of this experiment was to try and make the rewrite as cheap as possible.
To be fair, I haven't try exactly "rewrite in Rust" prompt, but I cannot imagine for this to work.