HackerTube.dev

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

alexsmail · 71.2K views · 2017-11-06 · 1:21:13

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

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.

On Hacker News

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

Recommended by 4 HN people across 5 months · HN mentions 2020–2024

Topics

Search by tags

What people said

chc4 · 2024-08 · Strong recommendation

"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. [VIDEO] [LINK]

Read the original HN comment ↗
zevv · 2024-05 · Strong recommendation

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": [VIDEO] . It is a two hour lecture, but it will be worth your time.

Read the original HN comment ↗
NobodyNada · 2023-11 · Strong recommendation

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 [VIDEO] Part 2 [LINK]

Read the original HN comment ↗

Sources

Video by alexsmail, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources