Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #6077

P

Peter Zhu

Personal blog · blog.peterzhu.caprogramming

Peter Zhu's personal blog at blog.peterzhu.ca covers programming. Since 2020, 13 different Hacker News readers have linked it 24 times, most often “How the garbage collector works in the Ruby programming language”. It is still writing: the last post was on 2026-09-01, and you can follow it by feed.

Visit the blog
24mentions?
13HN people?
2020–2025first – last linked?
Links on Hacker News per year · peak 8 in 2021

Too few sampled comments (3) to say how often HN recommends it.?

Why HN links it

HN readers link Peter Zhu's "A Rubyist's Walk Along the C-Side" series on Ruby's C internals. One commenter calls it a great series that helps with understanding concepts.

Summarised by Claude from a sample of 3 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Peter's personal blog mostly about programming and sometimes other stuff.

Most-linked posts?

  1. How the garbage collector works in the Ruby programming language
    4 people · 5 mentions · first linked 2020-08-24
  2. A Rubyist's Walk Along the C-side
    3 people · 3 mentions · first linked 2021-06-05
  3. Hunting Down the Ruby 'Inplace' Bug
    2 people · 2 mentions · first linked 2020-11-21
  4. Open Source Is the Most Fragile and Most Resilient Ecosystem
    2 people · 2 mentions · first linked 2025-10-18
  5. A Rubyist's Walk Along the C-Side (Part 4): Primitive Data Types
    2 people · 2 mentions · first linked 2021-06-05
  6. 1.5 is the midpoint between 0 and infinity in Ruby
    2 people · 2 mentions · first linked 2020-11-27

What Hacker News says?

  1. benoittgt · 2024-12-18Recommends
    There is this great serie of Peter Zhu too. https://blog.peterzhu.ca/ruby-c-ext/ Even if it's C extension, it helps understanding some concepts. But I agree with you.

    Comment linking /ruby-c-ext/

    on “Optimizing Ruby's JSON, Part 1”
  2. Submitted 1.5 is the midpoint between 0 and infinity in Ruby as a story · 237 points

    HN discussion
  3. And the big caveat to this simple modification is that, if done naively, previously marked objects may become the sole referencers of non-garbage without being re-enumerated - potentially leading to the garbage-collection of non-garbage, which would be a serious bug. To fix this, you might have the live code that runs in-between the partial mark+sweeps mark objects to be re-swept as it runs. This adds overhead and c…

    Comment linking /notes-on-ruby-gc/

    on “Baby’s First Garbage Collector (2013)”
  4. Submitted Reworking Memory Management in CRuby [pdf] as a story · 45 points

    HN discussion
  5. Part 4 of the series - "A Rubyist's Walk Along the C-side" https://blog.peterzhu.ca/ruby-c-ext/

    Comment linking /ruby-c-ext/

    on “A Rubyist's Walk Along the C-Side (Part 4): Primitive Data Types”
  6. Submitted Hunting Down the Ruby 'Inplace' Bug as a story · 33 points

    HN discussion
  7. Submitted 1.5 is the midpoint between 0 and infinity in Ruby as a story · 14 points

    HN discussion
  8. Submitted A Rubyist's Walk Along the C-Side (Part 10): Benchmarking as a story · 5 points

    HN discussion
  9. Submitted Open Source Is the Most Fragile and Most Resilient Ecosystem as a story · 4 points

    HN discussion
  10. Submitted How the garbage collector works in the Ruby programming language as a story · 4 points

    HN discussion
  11. Submitted A Rubyist's Walk Along the C-Side (Part 4): Primitive Data Types as a story · 3 points

    HN discussion
  12. Submitted A Rubyist's Walk Along the C-Side (Part 1): Hello World as a story · 3 points

    HN discussion
  13. Submitted Open Source Is the Most Fragile and Most Resilient Ecosystem as a story · 2 points

    HN discussion
  14. Submitted Modular Garbage Collectors in Ruby [pdf] as a story · 2 points

    HN discussion
  15. Submitted Garbage Collection in Ruby as a story · 2 points

    HN discussion
  16. Submitted A Rubyist's Walk Along the C-Side (Part 8): Exceptions and Error Handling as a story · 2 points

    HN discussion
  17. Submitted Ruby_memcheck Finds Memory Leaks in Native Gems as a story · 2 points

    HN discussion
  18. Submitted To Free or Not to Free: A Story About a Memory Leak in Ruby Strings as a story · 2 points

    HN discussion
  19. Submitted A Rubyist's Walk Along the C-Side Part 6-Classes and Object Oriented Programming as a story · 2 points

    HN discussion
  20. Submitted Garbage Collection in Ruby as a story · 1 points

    HN discussion
  21. Submitted Garbage Collection in Ruby as a story · 1 points

    HN discussion
  22. Submitted A Rubyist's Walk Along the C-Side: Primitive Data Types as a story · 1 points

    HN discussion
  23. Submitted A Rubyist's Walk Along the C-side as a story · 1 points

    HN discussion
  24. Submitted A story about memory corruption in Ruby: The Ruby inplace bug as a story · 1 points

    HN discussion

Search all of HN for blog.peterzhu.ca

Linked by the same people?