I'm not commenting on how adoptable safe C++ will be if approved into the standard. I've already read the proposal and know that the current idea is to do a per-file type of analysis. I'm only talking about the principles. The principle that future features in C++ should be backwards compatible with itself, and that we should avoid as much as possible features that are known to be difficult to adopt are not bad principles, and certainly no US government document is implicating wanting these things as the reason cyber attacks happen.
If we say, well if we want to achieve XYZ we have to deviate a little bit for a specific reason, then that's fine too. We say we like std::unique_ptr, but it violates the zero overhead principle in some cases. It's still in the standard, it's still incredibly useful. We just have to be respectful, that's my only point
View all comments
Show parent comment
5
u/ContraryConman Oct 25 '24
I'm not commenting on how adoptable safe C++ will be if approved into the standard. I've already read the proposal and know that the current idea is to do a per-file type of analysis. I'm only talking about the principles. The principle that future features in C++ should be backwards compatible with itself, and that we should avoid as much as possible features that are known to be difficult to adopt are not bad principles, and certainly no US government document is implicating wanting these things as the reason cyber attacks happen.
If we say, well if we want to achieve XYZ we have to deviate a little bit for a specific reason, then that's fine too. We say we like std::unique_ptr, but it violates the zero overhead principle in some cases. It's still in the standard, it's still incredibly useful. We just have to be respectful, that's my only point