Modules are coming in C++20 but it will take a while before they are widely adopted, optimized and supported by tooling - what can we do right now?
by Viktor Kirilov
From the article:
CMake 3.16 introduced native support for precompiled headers and unity builds - we no longer need to rely on clunky 3rd party CMake scripts! This is a complete guide on what the 2 techniques are, how to apply them and what to look out for. Builds could easily drop to less than 20% of the time they originally took.
Slow builds don’t just waste time - they also break the ‘flow’ (context switching) and discourage refactoring and experimentation - how do you put a price on that?