12 ms·
> The truth is that even seasoned C/C++ developers can’t write safe C/C++ code I maintain a very large C++ project used to run airlines around the world that h
by deterministic 4y ago
> The truth is that even seasoned C/C++ developers can’t write safe C/C++ code
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.
- dougSF70 4y agoAn unfortunate typo, either that or it must be hard to sit at a desk.
- pjmlp 4y agoAirbus avionics software is written in a C subset, subject to high integrity computing certification processes, and standards. List of SQLLite exploits, https://www.cvedetails.com/vulnerability-list/vendor_id-9237/Sqlite.html https://www.cvedetails.com/vulnerability-list/vendor_id-9237...