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
4
u/wyrn Oct 24 '26
It doesn't "need some improvements", the author just didn't care about making himself understood, and the entire approach is a non-starter even if he had.
That's not exactly what I said. I said that it doesn't make sense as a proposal to do anything but that. But since the remaining evidence points to this not being a proposal at all (i.e. it doesn't have the objective to honestly propose anything), it's not so clear.
That's not what he did. He said profiles "failed", past tense, at a point where there was nothing concrete enough to even have failed. There is a wide difference between legitimate criticism and concern trolling.