News for hackers. Stuff that matters.
Re:The C++ Build Process Explained by Khoth on Thursday November 15, 2018 @08:12AM (#18458959)
The terms you're looking for are "single compilation unit" or "unity build".

It's used sometimes, I think mostly to help the compiler optimise better.

Build times for a full rebuild may be faster, but may not, since traditional builds can use many CPU cores. However, it stops incremental builds from working - if you modify one source file, you have to recompile everything.

Re:The C++ Build Process Explained by eequah9L on Thursday November 15, 2018 @10:46AM (#18460140)
Or a compile server / incremental compilation. Tom Tromey worked on supporting this in GCC years ago, and blogged about the roadblocks that he met on the way. I don't remember the details, but eventually the project was abandoned.

It might still be interesting to read through this stuff--throw "tromey gcc compile server" at a search engine and see what comes up.