YouTube10 Oct 2017
1h 14m

CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”

Podcast cover

CppCon

In this podcast episode, listeners dive into the world of atomic operations in C++, exploring their crucial role in lock-free programming and boosting performance. The discussion is enriched with detailed examples and insights into hardware implications, making the mechanics of atomic operations clear. The episode emphasizes the importance of selecting the right memory orders and highlights common issues like cache line sharing and false sharing. The speaker advocates for thoughtful algorithm design rather than just low-level tweaks, urging listeners to adopt best practices in atomic programming to improve both performance and code clarity.

Outlines

Sign in to continue reading, translating and more.

Open full episode in Podwise