Giter VIP home page Giter VIP logo

chumer / truffleruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oracle/truffleruby

0.0 2.0 0.0 214.28 MB

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

License: Other

Ruby 74.79% CSS 0.57% Gherkin 0.02% Roff 0.04% Shell 0.07% HTML 1.32% C 3.76% C++ 0.02% Ragel 0.20% Java 18.50% JavaScript 0.06% Python 0.11% XSLT 0.19% Batchfile 0.01% Makefile 0.01% Lex 0.01% Yacc 0.34% Scilab 0.01% ApacheConf 0.01% PHP 0.01%

truffleruby's Introduction

TruffleRuby logo

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 https://gitter.im/graalvm/truffleruby, but you can also Tweet to @chrisgseaton, or email [email protected].

Mailing list

Announcements about GraalVM, including TruffleRuby, are made on the graalvm-dev mailing list.

System Compatibility

TruffleRuby is actively tested on these systems:

  • Oracle Linux 7.3
  • Ubuntu 16.04 LTS
  • macOS 10.12

You may need to install libssl on your system to use the openssl module.

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, Nokogiri, and ActiveRecord database drivers which makes it not practical to run real Rails applications at the moment.

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

You don't need a JVM to run TruffleRuby. With the SubstrateVM it is possible to produce a single, statically linked native binary executable version of TruffleRuby, which doesn't need any JVM to run.

This SubstrateVM version of TruffleRuby has startup performance and memory footprint more similar to MRI than TruffleRuby on the JVM or JRuby. There are instructions for using it as part of GraalVM.

Can TruffleRuby run 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.

How do I install gems?

TruffleRuby cannot install gems out of the box yet, however there are temporary workarounds which can be used to get it working.

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. See Using TruffleRuby with GraalVM instructions.

Documentation

Documentation is in doc.

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 additional code not always covered by these licences, and with copyright owned by other people. See doc/legal for full documentation.

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.

truffleruby's People

Contributors

aardvark179 avatar atambo avatar banzaiman avatar bdortch avatar bjfish avatar calavera avatar cheald avatar chrisseaton avatar dmarcotte avatar donv avatar enebo avatar eregon avatar etehtsea avatar ghostganz avatar headius avatar kares avatar komax avatar lopex avatar lucasallan avatar mkristian avatar nicksieger avatar nirvdrum avatar olabini avatar pitr-ch avatar qmx avatar subbuss avatar timfel avatar vp-of-awesome avatar vvs avatar yokolet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.