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 27 '24
The UB is another effort altogether. There is a paper that proposes to systematize the fixing, but it is at its initial states.
In my view, it is capital that code can be analyzed a-priori without rewriting. But that is just a poor user's opinion. It is up to the committee what to do.
Only doing analysis a-priori and if some refactorings are less heavy increases by a lot thr chances of making a bigger part of old code safer.
It is pending, though, a full research on the final result of the subset, that is true. But I do not see a reason to go and push the Safe C++ proposal in its current form. I think it would be a mistake bc of what I said: the code cannot be analyzed without being touched. It is also a language with very different idioms...