Bjarne Stroustrup’s Plan for Bringing Safety to C++ (The New Stack)
The New Stack coversa conference talk by Bjarne Stroustrup on turning C++ into a saferlanguage.
Stroustrup has arrived at his solution: profiles. (That is, a setof rules which, when followed, achieve specific safety guarantees.)They'd be defined by the ISO C++ standard, addressing common safetyissues like pointers and array ranges. In response to a laterquestion from the audience about the difficulty of adding newtooling, Stroustrup pointed out that the C++ compiler itself is nowa pretty sophisticated static analyzer, and could also be taskedwith meeting the profile's requirements.