by deterministic · 3y ago · 0 comments
I maintain a very large C++ project used to run airlines around the world that hasn’t had a bug in production for 5+ years. No crashes. No memory leaks. No production shutdown. Not even once. So no it most definitely is possible to write solid code in C++. However I do agree that it is hard :) I managed to do it by having 9000+ tests testing all aspects of the code.
Another (more public) example is SQLite. I am sure there are more examples out there. Airbus avionics software is written in C for example.
List of SQLLite exploits,
https://www.cvedetails.com/vulnerability-list/vendor_id-9237...