Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of implementing a lock-free atomic shared_ptr in this conference talk from NDC TechTown 2022. Delve into the motivation behind std::atomic introduced in C++20 and understand why existing implementations fall short for low-latency and real-time applications. Examine the inner workings of std::shared_ptr, trace the history of its atomic counterpart, and analyze various implementation strategies. Discover a novel, portable implementation of a lock-free atomic shared_ptr suitable for multiple platforms. Gain valuable insights into advanced C++ programming techniques and learn how to optimize thread-safe smart pointers for high-performance scenarios.