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
#455 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

2

Visualizing Your Ruby Heap

In a previous post, I wrote a bit about how Ruby objects are laid out in memory. Today we’ll use that information to write a program that will allow us to take a Ruby heap dump and visualize the layout and fragmentation of that heap. Ruby Object Layout Recap Just as a recap, Ruby objects are fixed width. That is…