Blogs / Personal blogs

James Golick

jamesgolick.com

Blog of James Golick: software engineer, entrepreneur, and speaker.

Popular posts
4
Total points
515
HN comments
87
Rank
#4,972 personal

Visit jamesgolick.com → RSS feedOn Hacker News Dec 2009 – May 2013

Software Engineering 4Systems & Performance 2Databases & Data 1Career & Management 1

2

Memory Allocators 101

For the last few weeks, I've been working on a couple of patches to tcmalloc, Google's super high performance memory allocator. I'm going to post about them soon, but first I thought it would be cool to give some background about what a memory allocator actually does. So, if you've ever wondered what happens when you…

3

MRI's Method Caches

One of MRI's big performance problems is that method cache expiry is global. That is, any time you make a change to any class anywhere, the entire VM's method caches get busted at the same time. This is why you'll frequently hear people saying that "calling Object#extend is bad".