r/cpp
•
u/steveklabnik1
•
Oct 24 '24
•
1
Why Safety Profiles Failed
https://www.circle-lang.org/draft-profiles.html
180
Upvotes
View all comments
Show parent comment
1
u/germandiago Oct 25 '24 edited Oct 26 '24
This is totally incorrect.
Rust, not C++, but Rust was made safe from scratch and it cannot verify absolutely all perfectly safe code patterns.
This is, in some way, the very same situation.
Of course your claim is incorrect and you are phrasing the problem incorrectly: a big enough subset of Safe C++ is already good enough.
If Rust was safe, by your same measure also, then it would not need an unsafe keyword at all.