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.
36
Upvotes
View all comments
Show parent comment
-1
u/arthurno1 29d ago
So you are in agreement with me the: if you want perfectly safe program, you can't remove bounds checking always.
Yes, it is. So go away now, because you seem to accuse me for talking against type checking or whatever, which I certainly don't.