| ▲ | LarsDu88 2 hours ago | |||||||
Rust is the best language for LLMs b/c it gives by far the best debug messages. Just tons of verifiable reward signal for post-training. Even the most rudimentary LLMs can school me on idiomatic Rust | ||||||||
| ▲ | rafram 2 hours ago | parent | next [-] | |||||||
On the other hand, Rust's borrow checker is very picky, and even a frontier LLM still sometimes struggles to respond to roadblocks sensibly (refactoring so whatever it's trying to do can be done safely) rather than stupidly (introducing some horrible global arena thing so it can make the borrow checker go away). A lot depends on how good your instructions are, and how good the existing code is, since bad input begets bad output. | ||||||||
| ||||||||
| ▲ | bitexploder 2 hours ago | parent | prev | next [-] | |||||||
Evidence needed. I think for certain kinds of outcomes it has very strong advantages, but these advantages are not a given as 'best for LLMs' :) | ||||||||
| ▲ | lossolo 40 minutes ago | parent | prev [-] | |||||||
Not always. In my experience, if you're not working on a small, trivial codebase, LLMs will sometimes just create spaghetti unreadable, inefficient code to satisfy the constraints of the type system/borrow checker. | ||||||||