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/ts826848 Oct 25 '24
Oh, didn't realize it was in the library documentation. Seems like I have some fun to add to my reading list!
So in summary, it sounds like you have something like a reader-writer lock for the threading-related aliasing checks plus the
Send/Syncequivalents? And the aforementioned prohibition of lifetime-relevant mutable aliasing handles the other bits of what Rust's mutable XOR aliasing restriction does?