THE VIDEO SHELF · c++ atomics and memory ordering
CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”
Fedor Pikus's CppCon 2017 talk on C++ atomics, looking at what they let the programmer express and what the hardware actually does. It covers memory ordering and lock-free programming from basic to advanced.
Why HN readers recommended it
HN recommends it as an enlightening explanation of atomics, caches and memory ordering from a strong presenter.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- CppCon
- Topic
- c++ atomics and memory ordering
- Format
- talk
- Level
- advanced
- HN recommenders in dataset
- 3
- HN mentions in dataset
- 3
- Recommendation years in dataset
- 2017–2025
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
No, from what I understand, you can't even do it in software anyway due to how the caches work between cores inside the CPU. Watching this was enlightening to say the least (and the presenter is very good): [VIDEO]
speps on Hacker News · 2017-11
In Designing a Lock-free, Wait-free Hash MapFedor Pikus has given a number of great talks on the subject at cppcon over the years some links, in no particular order: CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do? [VIDEO] CppCon 2016: Fedor Pikus “The speed …
chrsig on Hacker News · 2022-09
In Lockfree Algorithms (2010)tl;dr: In a multi-threaded context, memory reads and writes can be reordered by hardware. It gets more complicated with shared cache. Imagine that you have core 1 writing to some address at (nearly) the same time that core 2 reads from that. Does core 2 …
inetknght on Hacker News · 2025-08
In Without the futex, it's futile
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.