»Schedule // Talk
Thursday, October 9, 2025
15:15–15:45
Side Stage
Rust’s Memory Model: The Logic Behind Safe Concurrency
Concurrency is hard, but Rust gives you tools to make it safe, from Mutex
and RwLock
to atomic types like AtomicUsize
and AtomicPtr
. Beneath these familiar abstractions lies something more fundamental and often overlooked: memory ordering. This talk explores how memory ordering governs the visibility and sequencing of reads and writes between threads, and why understanding it is essential for writing correct, performant, and portable concurrent code.
We’ll demystify Rust’s Ordering API—Relaxed
, Acquire
, Release
, AcqRel
, and SeqCst
—and examine how it is employed under the hood in synchronization primitives such as Mutex
, Once
, and Arc
.
Attendees will:
1. Learn how memory ordering works and how it enables these powerful abstractions.
2. Explore real-world usage through examples from popular concurrency crates like parking_lot
, once_cell
, and crossbeam
.3. For the daring, gain the intuition—and tooling—to begin building their own synchronization primitives, such as custom spinlocks or lock-free structures.
No prior knowledge of memory models is required, though a basic understanding of concurrency and familiarity with Rust will help attendees get the most out of the session.
Speaker
Martin Ombura Jr.
I am a Senior Backend Software Engineer with 8YoE focused mostly on Rust and Go. I obtained my Master’s in Computer Science with a focus on Evolutionary Algorithms. I love delving deep into underlying tech, and finding out how the small pieces interact to give us the services we enjoy. I just got an 8-string guitar so I can dive head-first into Progressive Metal. I don’t see the hype in coffee but have recently discovered the wonder that is Iced Matcha, and will under no circumstances not tolerate any disrespect to. TABS (in the tabs v spaces war).