Chapter 11. Rubinius: Ruby Implemented with Ruby
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 ...
Get Ruby Under a Microscope now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.