News for hackers. Stuff that matters.
Re:Ask HN: What is it about compiling that is so time-consum... by canucker2016 on Monday January 30, 2023 @02:54PM (#34585470)
...which is why sane, large projects use precompiled headers (PCH).

C (and later C++) compilers have used precompiled headers since at least the late 80s.

PCH speeds up compilation and roots out (hopefully, the few) cases where precompiled headers fail.

But C/C++ wasn't designed for a world where tens/hundreds of programmers build an app measured in the tens/hundreds of megabytes.

There are no comments on this comment yet.