6 ms·
Rust is such an awesome language. The execution times are blazing fast.
by fishfasell 12d ago
Rust is such an awesome language. The execution times are blazing fast.
- echelon 12d agoI just wish Rust itself compiled faster. Serde, proc macros, it's all so slow. I'm going to start prototyping systems in Go, then porting them to Rust when they're more concrete. I feel as though the Rust code LLMs emit is generally higher quality than most other languages, perhaps due to the error handling being a chief concern of the language, but the iteration on making changes and running tests is so slow. Rust could grow into "the final language" if it wasn't so slow to compile. Assuming the WASM bridge also continues to improve.
- throw-the-towel 11d agoLLMs being good with Rust makes sense, because the language itself gives you more safeguards than many others. What's good for the (human) gander is good for the (agent) goose.
- echelon 11d agoLLMs are ungodly good at Rust, and I say this as a 10-year veteran of the language. My problem is that now iteration with LLMs is so quick when prototyping new things that I now spend an inordinate amount of time waiting on agents to compile Rust and run tests. It's a huge slow down. I still want to serialize production logic to Rust (and TypeScript for the frontend as the WASM for frontend ecosystem isn't there yet), but it's really slow to iterate. I'm starting to build prototypes in Golang now and then convert them to Rust when I'm done. Hopefully the Rust team makes strides over the coming years to address this. I know they have a lot of irons in the fire for many speedups.
- umpalumpaaa 11d agoBut once you start to close the loop (as in allowing the LLM to build and run its changes) what’s good turns suddenly bad again. Long build times also increase LLM turnaround times. Especially bad when you have a fast model.
- pjmlp 10d agoQuite surprising for an ahead of time compiled language. /s