3 ms·
I've made some production services in Rust. I use a 16GB M1 and the thing compiles in under a minute. Incremental compilations are almost instant. The crates y
by Gigachad 4y ago
I've made some production services in Rust. I use a 16GB M1 and the thing compiles in under a minute. Incremental compilations are almost instant.
The crates you import seem to add the vast majority of compile time stuff like an ORM brings in a lot of code but I still don't see this being an issue. It's so much faster than working on the React app and even that seems fine.
Unless you are working on some absolute mega project like chromium, compile time seems like a minor detail.
- nicoburns 4y ago> Unless you are working on some absolute mega project like chromium, compile time seems like a minor detail. IF you have an M1 then sure. But bear in mind that’s 10x faster than the machines that some people are still using.
- Dowwie 4y agoI posted the parent comment. The required investment in new hardware for reasonable Rust developer experience cannot be understated. I took the poor hardware approach to software design with Rust and it came at the benefit of shorter compile times. Then, I worked with Rust monoliths that went all-in on macro-heavy libraries and felt the pain on my older workstation. It's interesting to think about the different decisions that one makes with the resources available, and constraints.