CppCon 2016: Herb Sutter “Leak-Freedom in C++... By Default.”
What it is
Herb Sutter's CppCon 2016 talk on lifetime safety in C++, aiming for code free of leaks and dangling pointers by default. It covers smart pointers, ownership, reference counting pitfalls and deferred reclamation resembling garbage collection.
Why Hacker News recommends it
HN cites it in memory management debates for its treatment of reference counting problems, destructor stack overflows and deferred pointers.
- 2 people recommended it
- 4 different months
- 1 strong recommendations
- first 2016, last 2025
What HN commenters said
“Check all of Herb Sutter's CppCon videos from 2015-2016, especially this one”
Sutter walks through deciding which pointer option fits which situation.
shermanyo, 2016-09 · Strong recommendation · in “Smart pointers and move semantics in modern C++”
“where he explains how those issues affect C++ and goes on to implement a tracing GC.”
Explains problems with reference counting and implements a tracing GC.
pjmlp, 2017-08 · Recommendation · in “Lazarus – A Delphi-compatible cross-platform IDE”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, smart pointers, reference counting, garbage collection, raii
Also recommended by the same people
talkCppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”CppCon · 5 HN recommenders · 2017–2025
talkCppCon 2014: Herb Sutter "Back to the Basics! Essentials of Modern C++ Style"CppCon · 2 HN recommenders · 2014–2021
talkCppCon 2015: Kate Gregory “Stop Teaching C"CppCon · 7 HN recommenders · 2016–2025
talkEdwin Brady - Idris 2 - Type-driven Development of IdrisCurry On! · 4 HN recommenders · 2019–2023
demoEric Bier Demonstrates CedarComputer History Museum · 3 HN recommenders · 2020–2025
talkCppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++”CppCon · 2 HN recommenders · 2017–2025
talk"A Political History of X" - Keith Packard (LCA 2020)linux.conf.au · 4 HN recommenders · 2020–2025
talkRailsConf 09: Robert Martin, "What Killed Smalltalk Could KO'Reilly · 5 HN recommenders · 2012–2026