2 ms·
I doubt it. Non-idiomatic translation is already covered by compiler-based technologies that already exist and are off-the-shelf. Idiomatic translation would re
by jerf 4y ago
I doubt it. Non-idiomatic translation is already covered by compiler-based technologies that already exist and are off-the-shelf. Idiomatic translation would require an LLM that could ingest large chunks of the code base; it is not sufficient to translate one function at a time (which is, again, a solved problem), and LLMs have scaling problems still as you go up. And, this is code, not human language. It doesn't take very many small mistakes where the code did this one obscure thing, but the LLM thought it was a more popular thing, before the whole translation is worthless. In my playing with ChatGPT if you deliberately bait it with code that looks like some really popular task but it's actually doing another, it is very strongly attracted to the popular thing.
An AI that uses LLMs but is more than just an LLM, maybe.