Frame from C++ and Beyond 2012: Herb Sutter - atomic Weapons 1 of 2 Plays with YouTube's privacy-enhanced embed

C++ and Beyond 2012: Herb Sutter - atomic Weapons 1 of 2

Open on YouTube First HN thread

4 HN users recommended this talk in 5 different months between 2020 and 2024.

2007–2026
4 strong recommendations 1 recommendation HackerTube score 7

HN treats it as the classic go-to for learning atomics and memory ordering, recommended over books.

Herb Sutter's deep C++ and Beyond 2012 talk on atomics and the C++ memory model, covering why programmers chasing top performance need to understand hardware ordering. This is part one of two.

Pull quote: “which are extremely good” (HN, 2024)

Also tagged: c++ memory model, atomics, memory ordering, concurrency, c++, herb sutter

What Hacker News said

5 labeled comments from the HN archive; up to 20 are kept per video, favoring different commenters. Each one links back to the original thread.

Strongly recommends Sharlin October 2020 under Swift Atomics
Classic deep talk on atomic operations and the memory model
If you’re prepared and willing to learn much more about atomic operations than you ever thought you would, there’s no substitute to Herb Sutter’s classic talk ”atomic<> Weapons” from C++ And Beyond 2012 [1]. [1] [this video]
Strongly recommends NobodyNada November 2023 under C++ Memory Model: Migrating from x86 to ARM
In-depth introduction with practical code examples
For a more in depth introduction to the topic with a lot of practical code examples, I highly recommend Herb Sutter’s excellent talk: Part 1 [this video] Part 2 [link]
Strongly recommends zevv May 2024 under Making Sense of Acquire-Release Semantics
Excellent two-hour lecture on memory model semantics
Read the full comment
Well written article, nice and to the point. Do recommend. Decades ago I declared myself too stupid to use shared memory with threading; I have learned to avoid this whenever possible, or abstract away the memory access under a safe layer as soon as possible. One of the greatest decisions of my career. Memory model semantics is one of the parts of systems programming that is generally poorly understood; I have had long discussions with senior programmers who have spent their careers carelessly threading their code without realizing what is happening under the hood. Not only did some of them not properly understand the acquire/release model, but they were not even aware of its existence. For a more in-depth explanation, I recommend Sutter's excellent talk "Atomic <> weapons": [this video] . It is a two hour lecture, but it will be worth your time.
Strongly recommends chc4 August 2024 under Rust Atomics and Locks (2023)
Top recommendation for learning atomics, ahead of books
"Is Parallel Programming Hard, And, If So, What Can You Do About It?" is one of the best books about atomics and concurrency, and my #2 recommendation. [link] My #1 actually isn't a book at all, but the two "atomic Weapons" talks by Herb Sutter, which are extremely good. [this video] [link]

Keyboard shortcuts

/
Search
j k
Next / previous video in a list
Enter
Open the focused video
l
Like (on a video page)
w
Watch later (on a video page)
?
This help
Esc
Close