Rust Smart Pointers

A linked list written as a plain enum fails with E0072, and an Rc sent to a thread fails with E0277. Box lifts the rule that sizes must be known at compile time, while Rc, RefCell, Arc, and Mutex each relax the one-owner, no-overlapping-borrows rule, paying with a heap allocation, count updates, run-time checks, or locking. The seventh post in a Rust study series.

November 17, 2026 · 20 min read

concurrency-go

A record of implementing and benchmarking three Go concurrency patterns — mutex, channel, and lock-free — to build hands-on understanding.

April 3, 2024 · 3 min read