3 ms·
> "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 Rus
by livinginfear 5y ago
> "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.
- LAC-Tech 5y agoIn fairness to rust, compiler speed has gotten a lot better. Can't speak for every crate though..
- ripley12 5y agoCompile 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?
- staticassertion 5y ago> They're surely not talking about compilation times. Correct.
- dralley 5y agoSome 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.