« * K @peterzhu.ca

Peter Zhu @peterzhu.ca

2025-12-22 17:02 UTC

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...

Link: Implement Ruby heap by peterzhu2118 · Pull Request #54 · ruby/mmtk (github.com/ruby/mmtk/pull/54)

6 likes, 0 reposts, 0 replies

3 Next post4 More from @peterzhu.caBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup