Skip to content

TruffleRuby - GraalVM Community Edition 1.0 RC8

Pre-release
Pre-release
Compare
Choose a tag to compare
@ansalond ansalond released this 19 Oct 19:13
· 16740 commits to master since this release

TruffleRuby is high performance implementation of the Ruby programming language, compatible with MRI 2.4.4.

TruffleRuby is progressing fast but is currently probably not ready for you to try running your full Ruby application on. However it is ready for experimentation and curious end-users to try on their gems and smaller applications.

TruffleRuby runs Rails, and passes the majority of the Rails test suite. But it is missing support for Nokogiri and ActiveRecord database drivers which makes it not practical to run real Rails applications at the moment.

The Ruby language components can be installed in GraalVM using the gu utility.

Release Notes

New features:

  • Java.synchronized(object) { } and TruffleRuby.synchronized(object) { }
    methods have been added.
  • Added a TruffleRuby::AtomicReference class.
  • Ubuntu 18.04 LTS is now supported.
  • macOS 10.14 (Mojave) is now supported.

Changes:

  • Random seeds now use Java's NativePRNGNonBlocking.
  • The supported version of Fedora is now 28, upgraded from 25.
  • The FFI gem has been updated from 1.9.18 to 1.9.25.
  • JCodings has been updated from 1.0.30 to 1.0.40.
  • Joni has been updated from 2.1.16 to 2.1.25.

Performance

  • Performance of setting the last exception on a thread has now been improved.