JRuby 9.0.3.0 Released

Wednesday, October 21 2015

The JRuby community is pleased to announce the release of JRuby 9.0.3.0

JRuby 9000 is the newest major version of JRuby, representing years of effort and large-scale reboots of several JRuby subsystems. It is expected to be compatible with Ruby 2.2.x and stay in sync with C Ruby. JRuby 9.0.3.0 is our second of many point releases…

[NOTE: 9.0.2.0 was prematurely released to Maven with a serious issue so we had to skip putting out a 9.0.2.0 release (Maven does not allow replacing pushed artifacts). So 9.0.3.0 is our second official point release. We apologize for any confusion this may cause.]

Major features of JRuby 9000:

Ruby 2.2 compatibility

A new optimizing runtime based on a traditional compiler design

New POSIX-friendly IO and Process

Fully ported encoding/transcoding logic from MRI

If you do find issues then report them on using our issue tracker at http://bugs.jruby.org. We also encourage users to join our IRC channel (#jruby on Freenode) and mailing lists. You may also follow @jruby on Twitter for updates.

Notable updates since 9.0.1.0

Pattern ‘foo rescue nil’ now can, at times, run 48x faster

Blocks can independently JIT now improving perf in some scenarios

define_method with non-capturing body is now 2+x faster (~same speed as def)

stat() on windows now supports long paths and UNC paths

31 issues fixed for 9.0.3.0

Truffle

JRuby 9000 includes an preliminary version of support for the Truffle language implementation framework and Graal VM from Oracle Labs. In future releases, Truffle will provide an extremely high performance and compatible backend for JRuby. The Truffle backend supports almost all Ruby language features and the majority of the core library, and is able to run simple gems and web frameworks such as Sinatra. It has no support for RubyGems, Rails or any database drivers, does not work on Windows, and is not ready to be tested with applications at this stage. More information on Truffle and Graal can be found in the JRuby Wiki.