Explore the intricacies of implementing a lock-free atomic shared_ptr in C++ through this comprehensive conference talk from CppNow 2022. Delve into the motivation behind creating a lock-free implementation, understand the inner workings of std::shared_ptr, and trace the standardization history of std::atomic std::shared_ptr. Examine various non-standard implementations, comparing their strategies, trade-offs, and limitations across different platforms. Discover a new, open-source, portable implementation of a lock-free atomic shared_ptr, designed to work across 32-bit and 64-bit systems on both Intel and ARM architectures. Gain insights from Timur Doumler, a C++ Developer Advocate and active ISO C++ committee member, as he shares his expertise on this crucial topic for low-latency and real-time applications.
Overview
Syllabus
A Lock-free Atomic shared_ptr - Timur Doumler - CppNow 2022
Taught by
CppNow