tink / link log #systemcrafters

< Lionyx > dropped a link

Arc in std::sync - Rust

https://doc.rust-lang.org/std/sync/struct.Arc.html

Arc provides thread-safe shared ownership via atomic reference counting, contrasting with Rc’s non-atomic overhead. It delegates mutation to interior primitives like Mutex or make-on-write semantics, and relies on Weak pointers to break reference cycles without preventing deallocation of the inner value.