Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of The garbage collection handbook

    The garbage collection handbook

    Jones, Richard · 2012

    Published in 1996, Richard Jones’s Garbage Collection was a milestone in the area of automatic memory management. The field has grown considerably since then, sparking a need for an updated look at the latest state-of-the-art developments. The Garbage Collection Handbook: The Art of Automatic Memory Management brings together a wealth of knowledge gathered by automatic memory management researchers and developers over the past fifty years. The authors compare the most important approaches and state-of-the-art techniques in a single, accessible framework. The book addresses new challenges to garbage collection made by recent advances in hardware and software. It explores the consequences of these changes for designers and implementers of high performance garbage collectors. Along with simple and traditional algorithms, the book covers parallel, incremental, concurrent, and real-time garbage collection. Algorithms and concepts are often described with pseudocode and illustrations. The nearly universal adoption of garbage collection by modern programming languages makes a thorough understanding of this topic essential for any programmer. This authoritative handbook gives expert insight on how different collectors work as well as the various issues currently facing garbage collectors. Armed with this knowledge, programmers can confidently select and configure the many choices of garbage collectors.

    Computer ScienceProgramming
    Open LibraryAmazon
    Stats for nerds
    23recommend
    58mentions
    34people
    2012–2026years
    62% recommend38% neutral

    Mentions per year

    20122014201620182020202220242026

    What Hacker News says

    1. quotemstrMay 2026
      There are books about languages, and then there are books about timeless truths. The former? Toilet paper. The latter? Treasures. Worth reading:

      - Okasaki, Purely Functional Data Structures https://www.cs.cmu.edu/~rwh/students/okasaki.pdf

      - The Garbage Collection Handbook https://gchandbook.org/

      - The Dragon Book - https://faculty.sist.shanghaitech.edu.cn/faculty/songfu/cav/... (yes, it's old, but I still like the end-to-end, all-in-one intro)

      - Windows Internals - https://learn.microsoft.com/en-us/sysinternals/resources/win...

      - Structure and Interpretation of Computer Programs - https://web.mit.edu/6.001/6.037/sicp.pdf

      - Concurrency Control and Recovery in Database Systems - https://www.microsoft.com/en-us/research/people/philbe/book/

      - Crafting Interpreters - https://craftinginterpreters.com/

      - What Every Programmer Needs to Know About Memory - https://people.freebsd.org/~lstewart/articles/cpumemory.pdf (the best thing Ulrich Drepper ever did)

      - An Introduction to Modern Cryptography - https://eclass.uniwa.gr/modules/document/file.php/CSCYB105/R...

      A good programming book gets better with age. If it's really about ideas and uses this or that technology for exposition, so much the better: the more remote in time the grammar of the examples, the more you can focus on the ideas. SICP being in Scheme is an advantage because you don't know Scheme yet; Windows Internals being about Windows teaches you generally good lessons in OS design by forcing you to contemplate a system alien to the Unix you probably know better.

      It's shocking how many of these seminal books are available for free and how few people read them. Yes, yes, you can get the same information from an LLM, but an LLM won't give you the guided tour through the whole rugged ideas-space and show you a reasonable peak. Order, emphasis, and expository style build intuition, so books (especially old ones) are worth reading.

      thread
    2. pizlonatorDec 2024
      Garbage collection handbook

      https://gchandbook.org/

      If you want to see my latest concurrent GC, see

      https://github.com/pizlonator/llvm-project-deluge/blob/delug...

      https://github.com/pizlonator/llvm-project-deluge/blob/delug...

      thread
    3. stefanos82Apr 2024
      Reference Counting is one way of GC and you can clearly read in great detail about it in the book "The Garbage Collection Handbook", chapter 5 [1]

      [1] https://gchandbook.org/contents.html

      thread
    4. moonchildJan 2024
      read the garbage collection handbook - https://gchandbook.org/
      thread
    5. trealiraDec 2023
      Bob Morgan's book Building an Optimizing Compiler is entirely focused on modern compiler optimizations (and it was published in 1997). It goes over building a control flow graph, various optimizations you can do with that, alias analysis, static single assignment form, CFG dominator-based optimizations, instruction scheduling, register allocation, and emitting object code. It doesn't talk about lexing, parsing, NFAs/DFAs, etc. like most compiler books.

      Static Program Analysis[1] also seems helpful to someone trying to write a compiler that does optimizations that require advanced analyses: https://cs.au.dk/~amoeller/spa/

      For garbage collection, there's the Garbage Collection handbook[2]. I'm not aware of better additional resources, though.

      [1]: https://cs.au.dk/~amoeller/spa/

      [2]: https://gchandbook.org/

      thread
    6. pjmlpMar 2023
      I advise some self education in CS contents regarding GC.

      You can start here,

      https://gchandbook.org/

      https://www.udemy.com/course/essentials-of-garbage-collector...

      thread

    Related

    Cover of Garbage collection
    2009–2023

    Garbage collection

    Jones, Richard
    6 recommend · 10
    Cover of Backup & Recovery
    2014–2022

    Backup & Recovery

    W. Curtis Preston
    1 recommend · 3
    Cover of Clean Code
    2008–2026

    Clean Code

    Robert C. Martin
    298 recommend · 951
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Metal programming guideJanie Clayton
    2018–2023

    Metal programming guide

    Janie Clayton
    2 recommend · 4
    The psychology of computer programmingGerald M. Weinberg
    2009–2026

    The psychology of computer programming

    Gerald M. Weinberg
    44 recommend · 122
    Cover of Code
    2008–2026

    Code

    Charles Petzold
    243 recommend · 385
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894