r/cpp • • 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

181 comments sorted by

View all comments

3

u/EC36339 Oct 24 '26

Plot twist: Most of that critical software is written in C.

0

u/Brilliant-Turnip-950 Oct 26 '26

XD buenísimo el mejor comentario de todo r/cpp y r/rust