Change the Defaults in C++
summary
C++ defaults cause real harm: a UK Horizon bug saga leads to about 900 convictions and 236 imprisonments with reported suicides, and hospital scheduling software leaves cancer patients unable to start treatments repeatedly. Recommendations are concrete: avoid undefined behavior where possible, add runtime checks for features that cannot be defined, design APIs that are hard to misuse, make safety by default with performance opt-in, and invest in testing and maintainable code so defects are findable and fixable.
AI-written summary · about
related talks
01h 01mSome Programming Myths Revisited
54mWriting C++ to Be Read
01h 31mWhat C++ Needs to be Safe
44mCoding Guidelines – to Comply or Not Comply – Some Myth Busting
59mBuilding Cpp Interfaces That Are Hard to Use Incorrectly
50mCore and other guidelines. The good, the bad, the... questionable?
54mC++ Common Knowledge
01h 27mContractual Disappointment in C++
