Can C++ be safe? Or are we doomed?

1 min read

A LONG read, but Herb Sutter lays out a path where modern C++ can provide better guardrails to the C++ language.

C++ safety, in context

His post has a common thread (ha! it’s safe):

Most of 2023’s top 10 “most dangerous software weaknesses” were not related to memory safety. Many of 2023’s largest data breaches and other cyberattacks and cybercrime had nothing to do with programming languages at all.

Leaked keys, account compromises, SQL injection, etc.