It's not everything. It's projects that use a lot of monomorphized generics, or compile-time macros, etc. And to be sure, this situation is improving over time - as new generics-related features are added, hopefully more of the redundant code that gets output when using these features will simply be cleaned up automatically, without adverse impact on compile times.
An incremental release build where nothing has changed (I just ran `touch src/lib.rs`) takes 25 seconds. Compiling the VM from scratch including all dependencies takes 1 minute and 28 seconds.
That's not too bad, but it could (and in my opinion should be) much better. Debug builds are usually faster to compile, but tend to run too slowly to be useful for anything but debugging some VM bug.
Building LLVM from source, I was told in another forum, took 26 minutes across 16 cores on a top-end machine (ie. several hours on one core). I guess I don't need to build LLVM(?)
https://old.reddit.com/r/ProgrammingLanguages/comments/hhxis...
I can build LLVM, Rust and Firefox in less time on my R7 1700.
How is Chromium so bloated??
Not fast by any means but big difference between 6 hours and 1.
cargo clean; cargo build; 4m20
Commenting out two lines of code in one of the services + cargo build; 0m14s
cargo clean; cargo build --release 11m43s
change 2 lines, cargo build --release 0m31s
I don't find this egregious.
ChromeOS Linux, which is debian
Intel i7 4 core 32GB RAM