News for hackers. Stuff that matters.
Re:C++17 constexpr Compile-time Ray Tracer (2017) by Koshkin on Tuesday October 30, 2018 @12:19PM (#18338250)
To be fair, what slows down compilation is not "the sheer existence" but the extensive use of large and complex #include files.
Re:C++17 constexpr Compile-time Ray Tracer (2017) by geezerjay on Wednesday October 31, 2018 @02:54PM (#18348314)
Indeed. IIRC this topic is covered directly in Meyers' "Effective C++" book, including the trick to use pointers + forward declarations in headers to avoid including other headers.