If you’ve been paying attention to the latest advances in C++ compilers (GCC, Clang, and MSVC in particular), you might have noticed that compilation speeds are improving. In particular, compilers are getting more and more incremental, so that instead of rebuilding the entire translation unit, the compiler can actually only rebuild the definitions that have changed and reuse the rest.
The reason I’m bringing up C++ compilation is because “one weird trick” has been consistently used by developers in an attempt to speed up compilation in the past.
I am, of course, talking about…