3 ms·
single headers (take it from a non c/c++ expert here just observing): 1. speeds up compilation -- through a single compilation unit. which as far as i understa
by blondin 7y ago
single headers (take it from a non c/c++ expert here just observing):
1. speeds up compilation -- through a single compilation unit. which as far as i understand is making the compiler compile a single "huge" pile of code. and because computers are extremely fast, is faster than figuring out dependencies using a build tool
2. makes dependency management easier (no make, no cmake, no scons, no ninja, etc.)
3. makes customization easier (just drop a macro and you can include just want you need)
i love the idea and empathize with the need for it.