3 ms·
Oh that's unfortunate.
by hoseja 5y ago
Oh that's unfortunate.
- gmueckl 5y agoUnfortunate, yes. But it keeps with the spirit of a language that is designed for both single pass compilation and separate compilation. A module system that mimics other languages like D or Python (I don't know enough about rust) would require a major change to how C++ compilations works. The compilers are by now complex enough that I'm pretty sure that compiler developers aren't keen on rewriting their frontends for multi-pass compilation.
- creata 5y ago> I don't know enough about rust Rust allows cyclic dependencies between modules within a single crate, but not between crates.