3 ms·
I think the main appeal is subset lock-down and compile times. ~5000 lines in C gets me sub second iteration times, while ~5000 lines in C++ hits the 10 second
by glouwbug 1y ago
I think the main appeal is subset lock-down and compile times. ~5000 lines in C gets me sub second iteration times, while ~5000 lines in C++ hits the 10 second mark. Including both iostream and format in C++ gets any project up into the ~1.5 second mark which kills my iteration interests.
Second to that I'd say the appeal is just watching something you've known for a long time grow slowly and steadily.
- kilpikaarna 1y agoThis, and the two pages of incomprehensible compiler spam you get when you make a typo in C++.
- pjmlp 1y agoDepends pretty much on where you do such typo. If you mean templates, a kind of solved problem since C++17 with static_assert and enable_if, moreso in C++20 with concepts.
- pjmlp 1y agoUse binary libraries and modules, alongside incremental compilation and linking.