I will be speaking at the next TokyoDev meetup. Would love to see other Tokyo devs there! tokyodev.doorkeeper.jp/events/199447
Peter Zhu
Peter Zhu
@peterzhu.ca
Staff Developer at Shopify. Ruby core committer. Photography geek. Mastodon: @peterzhu2118@ruby.social Instagram: @peterzhu.photos
467 followers34 following50 posts
Ruby's GC and ZJIT got a new collab! We recently introduced inlining of the garbage collector's fastpath into ZJIT. Read more about it here: railsatscale.com/2026-09-01-z...
Honored to give my talk at #RubyKaigi this year! Slides are available here: blog.peterzhu.ca/assets/rubyk...
Ruby has a new moving GC. I just merged moving Immix in the MMTk Ruby binding. This is exciting as its the first GC that dynamically detects fragmentation in the heap and performs defragmentation. Performance isn't too great yet but I'm working on it! github.com/ruby/ruby/pu...
I implemented Ruby's heap algorithm in MMTk in a day and 100 lines. Ruby's default GC is 10k+ lines. This doubles MMTk's performance from over 2x slower to almost on par. And I still haven't unlocked MMTk's true powers like generational GC or moving GC. github.com/ruby/mmtk/pu...
Peter Zhu reposted
I wrote about some of my thoughts on the lessons we can learn from the RubyGems situation and how we can move forward. blog.peterzhu.ca/open-source-...
Peter Zhu reposted
I tried to explain why I don't believe the recent accusations toward my former teammates, as well as how the Ruby and Rails Infra team at Shopify operates and why it can be trusted. byroot.github.io/opensource/r...
Shopify sponsors and collaborates with academia to take Ruby to new heights. We're working with Australian National University to integrate Memory Management Toolkit into Ruby. Earlier this year, we published a paper about it. Today, we wrote a blog post: railsatscale.com/2025-09-16-r...
My #RailsWorld talk recording is up! youtu.be/9r0xmX0oK5Y?...
Honored to give a talk at #RailsWorld again, on the same stage 2 years later. The recording should be up in a few weeks but you can find the slides here in the meantime: blog.peterzhu.ca/assets/rails...
At the ISMM conference today we presented our paper about our contributions to Ruby’s garbage collector. This was the result of a multi-year collaboration between researchers at the Australian National University and Shopify. Read it here: blog.peterzhu.ca/assets/ismm_...
I just published "Implementing Embedded TypedData Objects" about a feature @byroot.bsky.social and I worked on for Ruby 3.3. A bit late, but better than never. railsatscale.com/2025-06-03-i...
My RubyKaigi talk recording is up on YouTube! youtube.com/watch?v=04ax...
Excited to be giving a talk at Rails World this year! rubyonrails.org/world/2025/d...
Thanks for coming to my talk at @rubykaigi today. My slides are available at blog.peterzhu.ca/assets/rubyk... We’re also hiring Ruby and Rails developers at Shopify! www.shopify.com/careers
Come to my #rubykaigi talk today at 3:40 to look at the modular garbage collectors feature in Ruby 3.4. We’ll discuss what it is, how it’s implemented, and how we’re implementing MMTk using modular GC. Hope to see you there! rubykaigi.org/2025/present...
Merry Christmas everyone! Ruby 3.4 ships with Modular GC, an experimental feature we're actively working on. Modular GC provides an API for GC implementations and allows you to switch garbage collectors at boot time. For more details, see github.com/ruby/ruby/bl...
You are up to date.