The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed) (2023)
teleforce
100 points
12 comments
June 25, 2026
Related Discussions
Found 5 related stories in 119.8ms across 11,625 title embeddings via pgvector HNSW
- Unix GC Remastered mananaysiempre · 29 pts · June 10, 2026 · 51% similar
- How do I deal with memory leaks? (2022) theanonymousone · 81 pts · May 08, 2026 · 47% similar
- Show HN: CodeYam Memory – comprehensive memory management for Claude Code nadis · 16 pts · March 04, 2026 · 47% similar
- Building a Memory Allocator from Scratch in C kiirecodes · 28 pts · May 11, 2026 · 46% similar
- Software Engineering Handbook for Modern Teams bayburtlu · 11 pts · April 22, 2026 · 43% similar
Discussion Highlights (5 comments)
orionblastar
I remember reading it before. My son threw it away when we moved houses, not knowing how important it was. I'd recommend it.
rayiner
How good are AIs at coding manual memory management? Is this a sea change in automatic memory management?
hamstergene
What I didn’t like about this series of books was choosing “garbage collection” as umbrella term for both tracing GC and reference counting, without verifying if programming community would agree with that, which turned out they didn’t. I’ve seen a lot of threads here and on reddit where people were arguing about terminology purely because of this book alone. By that definition, C++ code has garbage collection if it uses std::shared_ptr, going against widespread common usage of the term “garbage collected programming language” which specifically contrasts manual languages like C++ or Rust against garbage collected ones. “Automatic Memory Management” is a lot more suitable description to what programmers have to do to manage memory; it is now in the title but still hasn’t become the primary term.
pdevr
I had the 2012 print edition. One of the best books available - the best book that I knew - about GC at that time. Anti-pattern: Regarding the 2023 e-book edition, I do not see a way to buy it from the site, or even a link to buy.
ChrisArchitect
Previously: Dec 2025 https://news.ycombinator.com/item?id=46357870 Apr 2023 https://news.ycombinator.com/item?id=35492307