Skip to content(if available)orjump to list(if available)

Compiling Ruby to Machine Language

Compiling Ruby to Machine Language

4 comments

·November 17, 2025

jlarocco

IIRC MacRuby used to compile to native code on OSX using LLVM, and was supposed to support native OSX APIs and Objective-C frameworks. It always seemed like a neat idea, and a slick integration, but I guess Apple moved to Swift instead.

I'll have to pick up a copy of this "Ruby Under a Microscope" book when the new version comes out. I've always liked Ruby, I just haven't had much chance to use it.

pasxizeis

Really happy to see Pat keeping it up! His first Ruby under a Microscope book but also his blog posts are amazing and a major source of inspiration for me. I did meet him personally in a Euruko conference. Such a great person.

chao-

I loved Ruby Under a Microscope when I first read it, and using that knowledge was able to have fun with some CTFs years ago.

I haven't kept up with the evolving Ruby implementation internals, so I will sure as heck buy this new version of the book.

null

[deleted]