3 ms·
Not saying that C is not to blame, but there seems to be relatively little code written in languages other than C that is as widely used. C++ comes to mind for
by krylon 10y ago
Not saying that C is not to blame, but there seems to be relatively little code written in languages other than C that is as widely used.
C++ comes to mind for writing browser engines, but those have their fair share (if not more) of security issues as well.
- lmm 10y agoMy sense is that most new line-of-business code these days is written in Java or C#. Which are still dated languages with serious flaws (e.g. goto fail would still be possible) but do at least address C's memory safety issues. I don't know why so much Internet infrastructure managed to miss that shift. Possibly a case of "ain't broke, don't fix it" - Apache, OpenSSL and what have you haven't changed that much since the early '00s and few people are motivated to write a replacement. Databases mostly existed since then, and newer datastores do tend to use better languages.