r/cpp • • Oct 24 '24

Why Safety Profiles Failed

https://www.circle-lang.org/draft-profiles.html
176 Upvotes

347 comments sorted by

View all comments

Show parent comment

18

u/andwass Oct 25 '24

But this hand-wavy "profiles can make C++ code guaranteed safe, and it's gonna be great, and we all get a pony" stuff by Herb and Bjarne is disingenuous.

It is also dangerous. Imagine the bad PR that C++ would get if a feature was sold as "guaranteeing safety", while it not at all guarantee safety. I think that would be a death-blow to any safety and security claims made by the committee.

0

u/germandiago Oct 25 '24

Noone is going to do or approve that AFAIK. What all solutions, with their pros and their cons, are looking for is guaranteed safety and saying otherwise about any of those proposals is just misrepresenting them.