public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
rue (author)
Wed Oct 07 10:15:45 -0700 2009
commit  6a9319d5f7652360c940e32f13905a3dcf6323ae
tree    ac2990cf1b1a27610cb0e2e3fc3476b552385a36
parent  9357a1193865ad1298683d804253a10e59ee13d2
name age message
file .autotest Wed Mar 12 14:27:54 -0700 2008 added RUBY env for autotest [zenspider]
file .gdbinit Fri Mar 20 12:13:33 -0700 2009 Added gdb rph to print object given its subtend... [brixen]
file .gitignore Wed Sep 30 17:32:41 -0700 2009 Add a configure script configure creates confi... [evanphx]
file AUTHORS Thu May 07 10:02:30 -0700 2009 1.8.7: Dir#each, .foreach (optional block) [marcandre]
file INSTALL Tue Dec 09 22:58:49 -0800 2008 Add license info and tweaks to README. [brixen]
file LICENSE Wed Feb 27 10:23:15 -0800 2008 Correct typos in LICENSE file, spotted by raggi [wilson]
file README Wed Sep 30 17:50:09 -0700 2009 Update the README for impatient people [evanphx]
file Rakefile Mon Sep 28 18:07:15 -0700 2009 Fixed rake install. Issues on your platform?--F... [brixen]
file THANKS Wed May 30 14:44:05 -0700 2007 blah [System User]
directory benchmark/ Mon Sep 28 15:24:25 -0700 2009 Add 2 Richards benchmarks bm_richards1.rb is t... [evanphx]
directory bin/ Mon Oct 27 17:32:23 -0700 2008 fixed bin/bm to use bin/rbx as default comparis... [dgtized]
file configure Tue Oct 06 12:50:02 -0700 2009 Update prebuilt automatically [evanphx]
directory doc/ Tue Oct 06 15:30:25 -0700 2009 Remove old profiling runs [evanphx]
directory kernel/ Loading commit data...
directory lib/
directory mspec/ Tue Sep 29 10:23:42 -0700 2009 Re-add Evan's fix for mspec --gdb option. [brixen]
directory rakelib/
directory runtime/ Sun Feb 22 23:49:34 -0800 2009 Move the patient to the operating room. [brixen]
directory spec/
directory stdlib/ Sun Apr 26 22:24:01 -0700 2009 Move open3.rb to lib directory. [brixen]
directory test/ Sat May 30 14:30:06 -0700 2009 Upgrade to RubyGems 1.3.4 [evanphx]
directory tools/ Mon May 11 12:14:10 -0700 2009 Start of new LLVM JIT [evanphx]
directory vm/
README
1. What is Rubinius

Rubinius is an execution environment for the Ruby programming language.  It is
comprised of three major pieces: a compiler, a 'kernel' (otherwise known as
the Ruby Core Library), and a virtual machine. The project's goal is to create
a top-of-the-line Ruby implementation.

2. License

Rubinius uses the BSD license. See LICENSE for details.

3. Running Rubinius

See doc/getting_started.txt.

3.1. For the impatient

Try "./configure --update-prebuilt" to try and use a prebuilt version of LLVM.

If it can't find a prebuilt for your system, then it will at the very least
checkout LLVM from svn and built it (this takes a lot of time).

Now to configure with LLVM: "./configure --enable-llvm"

  or

To configure without the JIT: "./configure"

Now: "rake"

4. Status

Rubinius is under heavy development and currently supports the core Ruby
classes and kernel methods. The majority of the existing Ruby libraries should
run without modification.  If your MRI 1.8.6-compatible code does not run
under Rubinius, please open a bug ticket. See doc/howto/write_a_ticket.txt.

As Rubinius becomes more and more compatible with Ruby 1.8, the development
effort is shifting toward performance, rather than completeness.

5. Goals

* Thread safety. Rubinius intends to be thread-safe so you could embed more
  than one interpreter in a single application. It does not currently meet
  this goal due to some components borrowed from the mainline Ruby interpreter.

* Clean, readable code that is easy for users to understand and extend.

* Reliable, rock-solid code. Valgrind is used to help verify correctness.

* Bring modern techniques to the Ruby runtime. Pluggable garbage collectors and
  code optimizers are possible examples.

6. Tickets

See doc/howto/write_a_ticket.txt

7. Contributing

The Rubinius team welcomes contributions, bug reports, test cases, and
monetary support. One possible way to help is implement Ruby library classes.
See doc/contributing.txt to get started.

8. Architecture

While most of the Rubinius features are implemented in Ruby, the VM itself is
written in C++. This is likely to continue to be the case in the coming
months, partly to ease the integration of LLVM into the Rubinius system.

The compiler, assembler, and bytecode generators are all written in Ruby, and
can be found under the ./kernel/compiler directory.