This is different from C++ where each individual source file can be compiled in parallel, so it's something I had to re-learn.
This is different from C++ where each individual source file can be compiled in parallel, so it's something I had to re-learn.
OTOH there might be a benefit too as more code becomes re-usable in independent crates.
That's... not the same thing at all.
Rust lets you have multiple crate in a single workspace, which allows parallelising the build (because crates are the concurrency unit of building rust).
That's got nothing whatsoever to do with pulling random crates, which is a separate issue.
* Python TYPE_CHECKING https://adamj.eu/tech/2021/05/13/python-type-hints-how-to-fi...
* C/C++ header files
But regardless, there is too much Rust code in existence to change this now.
The problem in the JS ecosystem is not the number of dependencies, but the number of entities you have to trust. There is no real difference between having one big crate in a repo managed by one entity or fifteen small crates in a repo managed by one entity.