4 ms·
My impression was cranelift doesn't improve compile time by enough to lift rustc out of the "slow" category, and borrowck isn't usually the expensive part of co
by edflsafoiewq 6y ago
My impression was cranelift doesn't improve compile time by enough to lift rustc out of the "slow" category, and borrowck isn't usually the expensive part of compilation.
- MaxBarraclough 6y agoIf not the borrower-checker or the code-generator, what's the slow part of Rust compilation? The front-end?
- trait 6y agoThe slowest part is code-gen indeed, that's why cargo-check[0] is really fast. [0]https://doc.rust-lang.org/cargo/commands/cargo-check.html https://doc.rust-lang.org/cargo/commands/cargo-check.html
- zozbot234 6y agoTypically the bottleneck is monomorphizing generic code. Also evaluating macros (if they're being used).