| ▲ | ForHackernews 3 hours ago | |||||||
Rust is harder for the bot to get "wrong" in the sense of running-but-does-the-wrong-thing, but it's far less stable than Go and LLMs frequently output Rust that straight up doesn't compile. | ||||||||
| ▲ | gizmo686 2 hours ago | parent | next [-] | |||||||
LLMs outputting code that doesn't compile is the failure mode you want. Outputting wrong code that compiles is far worse. Setting aside the problems of wrong but compiling code. Wrong and non-compiling code is also much easier to deal with. For training an LLM, you have an objective fitness function to detect compilation errors. For using an LLM, you can embed the LLM itself in a larger system that checks it's output and either re-rolls on errors, or invokes something to fix the errors. | ||||||||
| ▲ | zozbot234 2 hours ago | parent | prev [-] | |||||||
If you use the stable version of Rust, it's stable. There's a very strong commitment from the Rust folks on that specific point. | ||||||||
| ||||||||