> Because Rust's unit of compilation (a crate) is very large. In C/C++ it's a single file.
What do you mean exactly here?
What do you mean exactly here?
So the smallest chunk of work that can be parallelised is much bigger in Rust than in C++. (Unless you are writing atypically small Rust crates and atypically enormous C++ files.)
I ask becasue I wonder what's the real culprit here and whether it can be solved or if it's due to the language.
While staying in the same ecosystem you can split your application into smaller crates, which many are doing. It's just not that ergonomic.