Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
MaxBarraclough
· 6y ago · 0 comments
If not the borrower-checker or the code-generator, what's the slow part of Rust compilation? The front-end?
Comments
[–]
trait
6y ago
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
[–]
zozbot234
6y ago
Typically the bottleneck is monomorphizing generic code. Also evaluating macros (if they're being used).