I've seen projects written in C / Assembly that build over 9,000 objects in about 20 seconds on just one PC, whereas more than a few C++ codebases I've seen in the past couple years, that can be about as long as it takes to build just one file.
I honestly suspect the only folks really writing C++ consistently these days, on things like LLVM, are the ones who work at huge companies, with literal supercomputers devoted to compiling their code, which would prevent them from ever encountering the latency issues that exclude poor folk such as myself from any hope of ever hacking on their codebase. It's sort of like that scene of Agent Smith talking to Neo in the interrogation room: "What good is the source code... if you're unable to build?"
https://devblogs.microsoft.com/cppblog/improved-linker-funda...
Another tip, use binary libraries and don't build everything from scratch. Modularize the application into their own libraries as well.
Speaking of modules, they are part of C++20, with VC++ and clang adapting their implementations, gcc ramping up its implementation, and everyone else that cares about ISO C++20 also ramping up theirs.
Fun fact, Swift and Rust codebases aren't that fast to compile when compared against C++ code that isn't doing any crazy template metaprogramming.
See Boeing recently. See chernobyl. See any major disaster.
So having tooling that limit your ability to do damage, even at the cost of pain for power users, is one of the few ways to keep humanity in check.