CppCon Making C++ Safe, Healthy, and Efficient - CppCon 2025
https://youtu.be/p52mNWsh-qs?si=Bz6pyW6d0SMLCZxVNow with some updated content since the ACCU talk, and the Q&A is nonetheless interesting.
55
Upvotes
View all comments
Show parent comment
7
u/QuaternionsRoll Jan 12 '26
Unless I’m misunderstanding you,
you can’t have it both ways. Many algorithms and data structures rely on non-exclusivity. Doubly-linked lists are famously difficult to implement in safe Rust, and impossible to implement without incurring a substantial runtime overhead à la
RwLock(you can’t even useRefCellif you want to replicate the fact thatLinkedListimplementsSync).