Re:How to speed up the Rust compiler some more in 2020
by edflsafoiewq on Wednesday August 05, 2020 @08:36AM
(#24060112)
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.
[ Parent
| on HN ]
Re:How to speed up the Rust compiler some more in 2020
by MaxBarraclough on Wednesday August 05, 2020 @08:50AM
(#24060224)
If not the borrower-checker or the code-generator, what's the slow part of Rust compilation? The front-end?
Re:How to speed up the Rust compiler some more in 2020
by trait on Wednesday August 05, 2020 @09:27AM
(#24060509)
The 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