Skip to content
HHackerTube.videoSurprise me

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

C++ and Beyond 2012: Herb Sutter - atomic Weapons 1 of 2 on HackerTube: recommended by 4 Hacker News commenters across 5 separate months, 2020–2024.

alexsmail

talk · advanced · evergreen

Open on YouTube

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.

Why Hacker News recommends it

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

people recommended it
4
separate months
5
strong recommendations
4
discussed on HN
2020–2024
“which are extremely good”
— chc4, Aug 2024, in “Rust Atomics and Locks (2023)”

What HN commenters said

5 Hacker News comments link this video. Each one links back to its thread.

chc4Aug 2024Strongly recommends

"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]

in “Rust Atomics and Locks (2023)” · View on HN

zevvMay 2024Strongly recommends

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.

in “Making Sense of Acquire-Release Semantics” · View on HN

NobodyNadaNov 2023Strongly recommends

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]

in “C++ Memory Model: Migrating from x86 to ARM” · View on HN

SharlinOct 2020Strongly recommends

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

in “Swift Atomics” · View on HN

SharlinAug 2022Recommends

For a somewhat less "for dummies" treatment of the C++ memory model, see Herb Sutter's classic talk "atomic<> Weapons" [1]. [1] ▶ this video

in “C++ Concurrency Model on x86 for Dummies (2020)” · View on HN

Topics & tags