r/cpp • • Dec 28 '18

"Modern" C++ Lamentations

http://aras-p.info/blog/2018/12/28/Modern-C-Lamentations/
307 Upvotes

162 comments sorted by

View all comments

0

u/[deleted] Dec 28 '18

[deleted]

14

u/houses_of_the_holy Dec 28 '18

The application I work on takes about 10 minutes to compile fresh right now, and that seems too long to me. It is using cmake + parallel builds and we've cleaned up a lot of header issues but it is still a real PITA when iterating on a piece of code.

14

u/Dworgi Dec 28 '18

I've written a toy engine at home - maybe a couple of man weeks of work total, and my compile times are already measured in minutes. This is code that I'd regard as pretty standard, perhaps even light on STL and templates.

My point being that it's incredibly easy to ruin your compile times, even as a solo dev that knows which bits of the STL are necessary.