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 10. JRuby: Ruby on the JVM

image with no caption

JRuby is Ruby implemented on the Java platform.

In Chapter 1 through Chapter 9 we learned how the standard version of Ruby works internally. Because Ruby is written in C, its standard implementation is often known as CRuby. It’s also often referred to as Matz’s Ruby Interpreter (MRI), after Yukihiro Matsumoto, who created the language in the early 1990s.

In this chapter we’ll see an alternative implementation of Ruby called JRuby. JRuby is Ruby implemented in Java instead of C. The use of Java allows Ruby applications to run like any other Java program, using the Java Virtual Machine (JVM). It also allows your Ruby ...

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