3 ms·
> Something that most likely C will never have. ...rather, doesn't need. C++ modules just (potentially at least) fix a problem that C++ created in the first pl
by flohofwoe 3y ago
> Something that most likely C will never have.
...rather, doesn't need. C++ modules just (potentially at least) fix a problem that C++ created in the first place (exploding build times because of complex template code in stdlib headers).
Also, I have yet to see clear indications that C++ modules drastically improve build times in real world projects.
- pjmlp 3y agoBack when I had to develop in C, I would routinely wait for 1h builds. The trick to make them faster is the same as with C++, never compile everything from source unless required, this includes template code for common type parameters. As for compile times see Microsoft Office modules migration, or that VC++ import std in C++23 is faster than a plain #include <iostream>.