[Blog] How I Improved My Rust Compile Times by 75%
One of Rust's often mentioned pain points is slow compile times. In order to have nice things like the borrow checker, safety guarantees, and zero cost abstractions, we pay in time spent compiling. I was able to decrease that time by 75%.
128GB RAM
72GB RAM
Wow... that's not normal. The could work nearly entirely in RAM. Just put the temporary build files in RAM.
Didn't know about mold and cranelift. Adding them to my notes.
Thanks for the share.
Exciting! Nice to see how cranelift interacts with other compilation speedup strategies.