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
2
u/srdoe Oct 25 '24
Except if the experience at Google generalizes, it is likely good enough for most codebases to simply shut off the inflow of new vulnerabilities by ensuring that new code is safe.
If most memory safety vulnerabilities come from new code and you eliminate those via writing in a safe dialect, then not only do you get rid of most vulnerabilities, but you also slowly make the old code safer because the proportion of it that's written in a safe dialect will grow over time.