Re:How to Adopt Modern C++17 into Your C++ Code [video]
by zwieback on Thursday May 10, 2018 @11:15AM
(#17039583)
You're overstating a bit but there's a kernel of truth. However, it depends on your viewpoint. If you have a functional codebase in C and size is an important factor you may be reluctant to trade up. Bloat avoidance is not trivial, in my opinion. Performance is probably less of a factor, most of the additional functionality generated by the C++ compiler has to be written by the C coder in the end.
[ Parent
| on HN ]
Re:How to Adopt Modern C++17 into Your C++ Code [video]
by CyberDildonics on Thursday May 10, 2018 @02:58PM
(#17041920)
> If you have a functional codebase in C
Rewriting something that already works would be silly of course.
> and size is an important factor you may be reluctant to trade up. Bloat avoidance is not trivial, in my opinion
I don't agree with this in comparison to C. C is still there, but you have destructors and ownership semantics on top of it. Even templates can be used for things like type checking in debug builds.