Re:Let’s sunset C/C++
by JoeAltmaier on Friday August 14, 2015 @09:18AM
(#10059948)
You can even write C++ without linking the runtime, to avoid all that unsafe legacy code. For drivers and such. Done it many times.
Yes, that is why I find it good that both Mac OS X and Windows allow for kernel code in C++ as a kind of "worse is better" improvement over plain C.
However C++ with teams that haven't drink the safety kool aid, becomes C with a C++ compiler quite fast.
Hence why nowadays I tend to only use it occasionally in side projects.
Always written C++ taking advantage of the language features that allow for safer code and bring it closer to Ada linage than C.
Never saw anyone else doing the same in the enterprise codebases I worked on. My team at CERN was the only exception.