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/germandiago Oct 25 '24
That would be a potentially valid point if no alternative solutions are found.
But for example, by making reference escaping more restricted it can be solved as far as I understand (this is what subscripts do in Swift/Hylo I thinkbut take that with a grain of salt bc I did not do a full, super accurate analysis about it).
Or by adding an annotation. Are annotations bad? If they are pervasive, yes. If they are not... compared to a new type system that is disjoint and all analysis useless in all existing code? Come on...