Skip to content
0:00 / 0:00

#lock-free#atomics#herbsutter

CppCon 2014: Herb Sutter "Lock-Free Programming (or, Juggling Razor Blades), Part I"

CppCon

189K subscribers • 103 videos on Hallway • Conference channel

YouTube
  • Recommended by 3 people: 2 in engineering communities and 1 curated list.
  • Presented by Herb Sutter, chair of the ISO C++ committee
  • Linked in the descriptionCppCon/CppCon2014

Advanced. Deep dive for people who know the field.

118K views12 years ago3 recommendations

Systems programmingSoftware designConcurrency and parallelismC++Algorithms

Herb Sutter explains how to design and write lock-free algorithms and data structures using C++ atomics.

cppcon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2014 -- Example-driven talk on how to design and write lock-free algorithms and data structures using C++ atomic -- something that can look deceptively simple, but contains very deep topics. (Important note: This is not the same as my "atomic Weapons" talk; that talk was about the "what they are and why" of the C++ memory model and atomics, and did not cover how to actually use atomics to implement highly concurrent algorithms and data structures.) -- Herb Sutter: Author, chair of the ISO C++ committee, software architect at Microsoft. -- Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf

Why it's here

3 people recommend this

What people say. Highly recommended as an in-depth, classic talk on lock-free programming and atomics.

u/d1722825in r/C_Programming • Recommends

On “Is my lock-free queue good?”

I'm not sure if it even possible to do it with ring buffers, maybe >!if you start skipping elements (but that is not really a ring buffer anymore), or if you have a different ring buffer for each producer (but that is not really MPMC).!< Herb Sutter had a very good (and in-depth) talk about lock-free programming (it's about C++, but atomics are quite simlimar to C): part 1 and part 2. Oh, and I suspect at some points you could use a less strict memory ordering, than the default sequentially-consistent one, if you really want to start questioning your sanity :)

programming-talkscurated list on GitHubRecommends

Under “C++”

Lock-Free Programming (or, Juggling Razor Blades), Part I 01:24:00 by **Herb Sutter** (2014)

u/rahat106in r/C_Programming • Recommends

On “Are you fluent in both higher as well as low level languages?”

Here is a link to a herb sutter video talking about lock free programming. This is one of the 2 video. If you watch both of them you will understand the high level concept I believe. link