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
14
u/Dalzhim C++Montréal UG Organizer Oct 25 '24 edited Oct 25 '24
I, for one, would really like to have a compile-time, zero-runtime-cost reader-writer lock for every single variable in my codebase. Leads to a lot more code being « correct by construction » for a wider definition of « correct ».
Can the syntax be made less alien, can we reduce the amount of new core language changes to achieve this goal? Maybe, and I hope so. But Sean's adoption of the existing and proven model is an important start. When that work is complete, simplifications can be attempted until it gets baked into an iteration of the standard.