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/duneroadrunner Oct 26 '24
Yeah, I kind of over-simplified it, but that's the gist. Multi-threading is one of the "less elegant" parts of the solution, in part due to C++ pointer/references not being naturally amenable to safe asynchronous sharing. And it probably doesn't help that the documentation isn't the greatest at the moment, but there are usage examples for each item. The documentation does kind of assume the reader is familiar with (traditional) C++ multi-threading and mutexes. And if you haven't already read that section, the term "scope pointer", by default, just means "raw pointer". If you have any questions, feel free to post them in the "discussion" section of the github repository, and any other feedback is welcome :)