Skip to content

A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
LICENSE.RUBY
Notifications You must be signed in to change notification settings

PragTob/truffleruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TruffleRuby

A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.

Authors

The main authors of TruffleRuby in order of joining the project are:

  • Chris Seaton
  • Benoit Daloze
  • Kevin Menard
  • Petr Chalupa
  • Brandon Fish
  • Duncan MacGregor

Additionally:

  • Thomas Würthinger
  • Matthias Grimmer
  • Josef Haider
  • Fabio Niephaus
  • Matthias Springer
  • Lucas Allan Amorim
  • Aditya Bhardwaj

Collaborations with:

And others.

The best way to get in touch with us is to join us in #jruby on Freenode, but you can also Tweet to @chrisgseaton, or email [email protected].

Current Status

TruffleRuby is progressing fast but is currently probably not ready for you to try running your full Ruby application on. Support for critical C extensions such as OpenSSL and Nokogiri is missing.

TruffleRuby is ready for experimentation and curious end-users to try on their gems and smaller applications.

Common questions about the status of TruffleRuby

Do you run Rails?

We do run Rails, and pass the majority of the Rails test suite. But we are missing support for OpenSSL and Nokogiri which makes it not practical to run real Rails applications at the moment.

What is happening with AOT, startup time, and the SubstrateVM?

Ahead-of-time compilation of the TruffleRuby interpreter, along with the Graal compiler, is our proposed solution to the problem of startup time of a language implemented in Java. The technology we are using to do this is called the SubstrateVM. We hope to make the SubstrateVM available publicly at some point soon.

https://youtu.be/FJY96_6Y3a4?t=10023

Running on a standard JVM

It is possible to run today on an unmodified JDK 9 EA build, but at the moment this requires building Graal yourself and we don't recommend end-users try it. It will be supported when Java 9 is released.

Getting Started

The best way to get started with TruffleRuby is via the GraalVM, which includes compatible versions of everything you need as well as TruffleRuby.

http://www.oracle.com/technetwork/oracle-labs/program-languages/

Inside the GraalVM is a bin/ruby command that runs TruffleRuby.

Documentation

User documentation is in doc/user.

Contributor documentation is in doc/contributor.

Licence

TruffleRuby is copyright (c) 2013-2017 Oracle and/or its affiliates, and is made available to you under the terms of three licenses:

  • Eclipse Public License version 1.0
  • GNU General Public License version 2
  • GNU Lesser General Public License version 2.1

TruffleRuby contains code from other projects, including JRuby, Rubinius and MRI, under difference licenses. See COPYING for details and the full text of licenses.

Attribution

TruffleRuby is a fork of JRuby, combining it with code from the Rubinius project, and also containing code from the standard implementation of Ruby, MRI.

About

A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
COPYING
Unknown
LICENSE.RUBY

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 56.9%
  • Java 39.6%
  • C 1.9%
  • HTML 0.8%
  • Yacc 0.6%
  • XSLT 0.1%
  • Other 0.1%