Hacker News new | ask | show | jobs
by NicoJuicy 1866 days ago
Are you sure Rust compilation can use multiple cores to the fullest?

I don't use Rust, but a quick search returned for example this issue:

https://github.com/rust-lang/rust/issues/64913

1 comments

My cpu usage graph shows all cores at 100% for most of the compilation. But near the end it uses fewer and fewer cores. Then linking is a single core affair. It seems like a reasonable all-round benchmark because it leans on both single- and multi- core performance.

And I really care about rust compile times because I spend a lot of small moments waiting for the compiler to run.