Blogs / Personal blogs

Aaron Patterson

tenderlovemaking.com

I really enjoy learning new things in my free time. Lately I’ve been studying this book on Static Program Analysis . The book is very good, but some of the formulas are quite dense so I like to try writing them out in code.

Popular posts
9
Total points
3,085
HN comments
1,222
Rank
#456 personal

Visit tenderlovemaking.com → RSS feedOn Hacker News Jul 2012 – Sep 2026

Software Engineering 8Tools & Productivity 3Systems & Performance 2Databases & Data 2Web & Frontend 1Security & Privacy 1

1

Reducing Memory Usage in Ruby

I’ve been working on building a compacting garbage collector in Ruby for a while now, and one of the biggest hurdles for implementing a compacting GC is updating references. For example, if Object A points to Object B, but the compacting GC moves Object B, how do we make sure that Object A points to the new location?…

2

Speeding Up Ruby with Shared Strings

It’s not often I am able to write a patch that not only reduces memory usage, but increases speed as well. Usually I find myself trading memory for speed, so it’s a real treat when I can improve both in one patch. Today I want to talk about the patch I submitted to Ruby in this ticket. It decreases “after boot” memory…