C, still?
C, still?
Posted Sep 21, 2017 5:04 UTC (Thu) by eru (subscriber, #2753)In reply to: C, still? by ncm
Parent article: Building the kernel with Clang
When your language is powerful enough to present facilities (i.e., libraries) that admit only valid operations, without compromising performance, worries over invalid operations creeping in vanish.
This I can agree with. But C++ is not that language. My biggest gripe with it is that it cannot protect its abstractions. Where I work, this turns up every time the g++ compiler is upgraded, despite having warnings to the max in mandatory compiler options. The programmers has used the language or its library in a way that happened to work in the old version, but either does not compile in the new version, or crashes. (A contributing problem is also the horrid complexity of modern C++).