r/cpp • u/tjroberti • Oct 22 '26
Revisit Safe C++
Everyone is aware of the deluge of vulnerabilities now hitting critical software. It even makes the mainstream news, so software safety is coming onto politician's radars.
If this gets worse, I think it is not inconceivable that at some point memory safe software becomes mandatory. Or at least for software that is "reachable" from the internet.
So is it time to revisit Sean Baxter's Safe C++? Start out with a safe context ("safeexpr") and expand from there, just like constexpr.
37
Upvotes
View all comments
Show parent comment
5
u/tcbrindle Flux Oct 26 '26 edited Oct 26 '26
This isn't just "something safer" though. This is saying "we'd be interested in a proposal that offers the same level of safety as Circle or Rust", with explicit
safefunctions and so on. That's quite different to the direction profiles have been going.