3 ms·
I recently had used an LLM to convert a lot of Python to Rust. It got it 99% right, and it took me a short while to fix the compile-time errors, and carefully c
by CJefferson 2y ago
I recently had used an LLM to convert a lot of Python to Rust. It got it 99% right, and it took me a short while to fix the compile-time errors, and carefully check the tests weren't broken (as I trusted the code worked when the tests passed).
Is that "compiling" or "translating"? Lots of people use language to C "compilers".
- shepherdjerred 2y agoCompilation is generally deterministic with strict semantics. LLMs are great, but they are the opposite of a compiler (in a good way)
- deleted 2y ago[deleted]
- YeGoblynQueenne 2y agoTranslating Python to Rust is translation, prompting an LLM for new Python or Rust code is generation.