O'Reilly logo

Ruby Under a Microscope by Pat Shaughnessy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Rubinius: Ruby Implemented with Ruby

image with no caption

Rubinius uses Ruby to implement Ruby.

Like JRuby, Rubinius is an alternative implementation of Ruby. Much of Rubinius’s internal source code is written in Ruby itself instead of in only C or Java. Rubinius implements built-in classes, such as Array, String, and Integer, just as you would—with Ruby code!

This design offers a unique opportunity for you to learn about Ruby internals. If you aren’t sure how a particular Ruby feature or method works, you can read the Ruby code inside Rubinius to find out, without special knowledge of C or Java programming.

Rubinius also includes a sophisticated virtual machine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required