A Simple Tour of the Ruby MRI Source Code with Pat Shaughnessy
I'm not in Ruby core or, well, even a confident C coder anymore, but I've long enjoyed digging in the Ruby MRI source code to understand weird behavior and to pick up stuff for my Ruby course.
Pat Shaughnessy is also a fan of digging around in Ruby's internals and has written some great posts like How Ruby Executes Your Code, Objects, Classes and Modules, and Exploring Ruby's Regular Expression Algorithm.
When Pat released his Ruby Under a Microscope book, I knew it would be right up my street! He digs into how objects are represented internally, why MRI, Rubinius and JRuby act in certain ways and, of course, "lots more."
I invited Pat to take a very high level cruise through the MRI codebase with me so we could share that knowledge with Ruby programmers who haven't dared take a look 'under the hood' and to show it's not as scary or pointless as it may seem.
It's 100% free so enjoy it above or on YouTube in 720p HD.
P.S. Pat is happy to do another video digging deeper into how Ruby actually takes your code and executes it and he's able to walk through the actual virtual machine for us. If the reaction to this video is good, we'll sit down again and see if we can do it! :-)
December 3, 2012 at 7:48 pm
What is the editor used in the video?
December 3, 2012 at 7:57 pm
Sublime Text 2.
December 3, 2012 at 8:23 pm
Thanks a lot. Any added plug-ins? It does not quite look like the standard look & feel. For example the search bar, etc.
December 3, 2012 at 9:21 pm
The search bar is pretty standard, actually the entire thing looks standard to me, press (CMD|CTRL)+F to open it, or +H to get the more advanced search and replace.
December 3, 2012 at 9:31 pm
It's the "Soda" theming. But I've switched to "Phoenix" in the last couple of days..