← Back to context

Comment by tkz1312

11 hours ago

You don't really need compilers anymore. LLM's can write programs over any AST and provide an equivalence proof provided you have good semantics for the source and target.

Yeah, but thats a lower level of abstraction, thus using more tokens, and more importantly occupying a larger chunk of the biggest current limitation, the context

What semantics do you mean here? What are bad semantics in an interpretation/compilation context?

  • Semantics of a language describe the behaviour of a sentence in that language when executed. When you have semantics in a theorem prover you can construct equivalence proofs between programs expressed in different languages (or proofs that a compiler from one language to another is semantics preserving).

    I was mostly referring to accuracy when I said "good" above, in the sense that they should reflect the actual behaviour of the language they describe.

Then we don't really need software anymore, LLMs can just receive every user input and perform the action required.

/s