13 Facts About JRuby

1.

JRuby is an implementation of the Ruby programming language atop the Java Virtual Machine, written largely in Java.

FactSnippet No. 1,563,917
2.

JRuby is tightly integrated with Java to allow the embedding of the interpreter into any Java application with full two-way access between the Java and the Ruby code.

FactSnippet No. 1,563,918
3.

In July 2009, the JRuby developers left Sun to continue JRuby development at Engine Yard.

FactSnippet No. 1,563,919
4.

JRuby was originally created by Jan Arne Petersen, in 2001.

FactSnippet No. 1,563,920
5.

JRuby packages are available for most platforms; Fedora 9 was among the first to include it as a standard package at JRuby 1.

FactSnippet No. 1,563,921
6.

JRuby has been able to run the Ruby on Rails web framework since version 0.

FactSnippet No. 1,563,922
7.

JRuby is designed to work as a mixed-mode virtual machine for Ruby, where code can be either interpreted directly, just-in-time compiled at runtime to Java bytecode, or ahead-of-time compiled to Java bytecode before execution.

FactSnippet No. 1,563,923
8.

JRuby has built-in support for Rails, RSpec, Rake, and RubyGems.

FactSnippet No. 1,563,924
9.

JRuby is similar to the standard Ruby interpreter except written in Java.

FactSnippet No. 1,563,925
10.

The key difference is that JRuby is tightly integrated with Java, and can be called directly from Java programs.

FactSnippet No. 1,563,926
11.

One powerful feature of JRuby is its ability to invoke the classes of the Java Platform.

FactSnippet No. 1,563,927
12.

JRuby allows the user to call Java code using the more Ruby-like underscore method naming and to refer to JavaBean properties as attributes:.

FactSnippet No. 1,563,928
13.

JRuby has the significant architectural advantage to be able to leverage JVM threads without being constrained by a global interpreter lock, therefore achieving full parallelism within a process, which Ruby MRI cannot achieve despite leveraging OS threads.

FactSnippet No. 1,563,929