3 ms·
>STL-heavy C++17 and beyond is, of course, the salient example. I've seen "clever" code in that style, but never great code. Maybe the authors of that code jus
by logicchains 6y ago
>STL-heavy C++17 and beyond is, of course, the salient example. I've seen "clever" code in that style, but never great code.
Maybe the authors of that code just had different priorities, such as maximising compilation time.
- notacoward 6y agoHah! Yeah, that does seem sometimes like it must have been a deliberate goal, doesn't it? Got a good laugh out of that. The number of cycles wasted by C++ compilers fumbling toward solutions that would have been obvious in a better language (thousands of server-years per day where I work) is a legitimate ecological concern.
- PaulDavisThe1st 6y agoFrankly I find HN more of an impediment to rapid development than C++ compile times.
- logicchains 6y agoI know personally I'd spend a lot less time on HN if C++ compiled quickly enough that I didn't have time to context switch to something else while waiting for it to compile.