Reading up on Arc
2 deep · digging since sep 04
- wolfgirl.dev - Pining for Arc Downcasting in Rust
Author shows how Pin<Arc<MustPin<T>>> lets cheap cloning and downcasting of Arc-wrapped values via a self-referential struct that preserves pointer stability.
- Why Does Rust Need Send and Sync?
Send and Sync are Rust marker traits that guarantee safe thread transfer of values and shared references, exemplified by Rc being neither due to its non‑atomic reference count.