Cover of Garbage collection

Garbage collection

by Jones, Richard · first published 1996

10mentions
6recommended by
8HN commenters
2009–2023first – last mentioned

75% recommend25% neutral

Why HN recommends it

A thorough, approachable survey of automatic dynamic memory management algorithms. It is very readable and serves as a good starting point for anyone seeking depth on garbage collection.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 1 mention2010: 2 mentions2011: 0 mentions2012: 1 mention2013: 0 mentions2014: 1 mention2015: 0 mentions2016: 2 mentions2017: 0 mentions2018: 0 mentions2019: 0 mentions2020: 0 mentions2021: 1 mention2022: 0 mentions2023: 1 mention2024: 0 mentions2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • cjensen · Jun 1, 2012 · Recommends

    "Garbage Collection: Algorithms for Automatic Dynamic Memory Management" by Richard Jones and Rafael D Lins. Very readable and approachable. I read the entire book, which I almost never do with technical books.

    on “New Garbage Collector” ↗
  • WalterBright · Apr 9, 2014 · Recommends

    "Garbage Collection" by Richard Jones I'd recommend the Dragon Book, but it's a bit dated these days. Anything by Agner Fogg is good for optimization. There's always the D forum, where we're always going hammer and tong…

    on “How I Came to Write D” ↗
  • silentbicycle · Dec 16, 2009 · Recommends

    …Python's GC, a mark&sweep phase is usually added to reference counting so that if there's garbage which contains references to itself but has no external references, it will eventually be collected. (_Garbage Collection_ by Richard Jones and Rafael Lins is an excellent resource on GC details, btw. There's also a decent overview in the O'Reilly OCaml book (http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora082....…

    on “'We are no longer as optimistic about removing the GIL completely. '” ↗
  • hga · Jan 2, 2010 · Recommends

    …disaster when used beyond their proper niches), etc. All are masters who've gotten their hands dirty, many are theory people as well. http://www.amazon.com/Coders-at-Work-Peter-Seibel/dp/1430219... Garbage Collection by Jones Lins: Pretty much the only book in the field (except for the forthcoming Advanced Garbage Collection sequel in the middle of this year), covers the territory as of the mid-90s. Much more fun…

    on “Ask HN: Great programming books you read in 2009?” ↗
  • michaelfeathers · May 24, 2016 · Recommends

    There is a lot of data on this topic. This is a good starting place: http://www.amazon.com/Garbage-Collection-Algorithms-Automati...

    on “Is reference counting slower than GC?” ↗
  • _a_a_a_ · Apr 24, 2023 · Recommends

    …the end. Edit: yes, it's sometimes ok to leak). As somebody says elsewhere, it's multidimensional issue and a single dimensional garbage collector can't be a brilliant match for everything. The book "Garbage Collection" by Richard Jones, recently discussed on HN, is something I'd highly recommend you buy and read.

    on “Z Garbage Collector: The Next Generation” ↗
  • silentbicycle · Jul 16, 2010 · Recommends

    …full pass at a time) and/or generational (using several smaller generations, which are collected individually) break up GC pauses into something less disruptive. For a good overview, read "Uniprocessor Garbage Collection Techniques" by Paul Wilson (check google scholar). Richard Jones's _Garbage Collection: Algorithms for Automatic Dynamic Memory Management_ is more in depth.

    on “Zed Shaw on C++” ↗
  • pjmlp · Dec 20, 2016 · Mentions

    Swift has a garbage collector. https://www.amazon.com/Garbage-Collection-Algorithms-Automat... Check chapter 5.

    on “Modern garbage collection” ↗
  • pjmlp · Dec 20, 2016 · Mentions

    Actually C++ got a tracing GC API in C++11. As for the rest, RC is GC. Check chapter 5 in one of the most widely academic accepted books about GC algorithms. https://www.amazon.com/Garbage-Collection-Algorithms-Automat...

    on “Modern garbage collection” ↗
  • 62951413 · Nov 23, 2021 · Mentions

    …years ago. I cannot think about anything more modern. It's a niche which used to be popular in FinTech circles mostly. As such valuable info was scattered across random blogs and the JVM spec itself. "Garbage Collection: Algorithms for Automatic Dynamic Memory Management" (https://www.amazon.com/Garbage-Collection-Algorithms-Automat...) seems to cover GC algorithms up to the CMS. "The Art of Multiprocessor Programming"…

    on “Ask HN: Best Books on the JVM?” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help