Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "Yes! And it's freaking fast!"

They're surely not talking about compilation times. Admittedly it's been a few years since I tried to build a web stack in Rust, but I felt like I was back in the 1990s dealing with the long compile times on modern hardware. Diesel was such a nightmare to use. It was poorly documented, and took a long time to compile even trivial example projects.



Compile times are still pretty bad, I recently upgraded from a pretty-new laptop to a blazing-fast desktop (12900K) just for Rust development. But at least they're acceptable now: using the mold linker, incremental builds take 1-2s on a large (~450 crate) project.

I agree that there's a lot more work to do before Rust development is pleasant on average hardware. Does anyone know if Cranelift is still going anywhere?


In fairness to rust, compiler speed has gotten a lot better. Can't speak for every crate though..


Some web frameworks are much worse about compile times than others. I've heard Actix and Warp are not great at this, and that Axum is much better.


> They're surely not talking about compilation times.

Correct.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: