News for hackers. Stuff that matters.
Re:Why is my Rust build so slow? by Ar-Curunir on Friday December 31, 2021 @12:39PM (#29750348)
The rust compiler doesn’t spend a lot of time doing things like type checking and borrow checking, except in pathological edge cases (like in the article), and these edge cases are quickly fixed (eg this one was a regression that’s already fixed).

Most time tends to be spent in LLVM. That will also go down over time as the quality of emitted LLVM IR improves due to optimizations in rustc itself.

There are no comments on this comment yet.