3 ms·
It depends. I think an LLM will succeed at that some of the time but not all of the time because it is just faking it. The old A.I. may be better for this, s
by PaulHoule 3y ago
It depends. I think an LLM will succeed at that some of the time but not all of the time because it is just faking it.
The old A.I. may be better for this, see
https://en.wikipedia.org/wiki/Superoptimization https://en.wikipedia.org/wiki/Superoptimization
or tools like
https://www.microsoft.com/en-us/research/project/z3-3/ https://www.microsoft.com/en-us/research/project/z3-3/
I’ve seen cases where somebody used Z3 to pick a few assembly instructions to implement the body of a loop. Note the last two systems write a correct program every time, the LLM just makes a best effort. Some hybrid of an LLM that “understands” natural language and that other technology that can understand some code might be the winner.