Module 10
Smart Pointers
PHP's garbage collector and reference counting handle shared data for you, but Rust makes you pick the right tool. In this module, we'll look at how smart pointers differ from plain references, then work through Box, Rc and RefCell, before moving on to the thread-safe Arc, Mutex and RwLock.
Coming soon to this module
- Arc
- Mutex
- RwLock