public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
commit  a0fe2f7fa080729b77b32ffe21be5705a162ed71
tree    d9f173111b6075c25de67b4d305d073a97bc1fc0
parent  1cc32e07a35dcd55e33575f9e51334a5e6e8d62b
name age message
file .autotest Mon Feb 18 16:47:24 -0800 2008 Hopefully fix autotest config script. [brixen]
file .gitignore Wed Feb 20 09:01:59 -0800 2008 Exclude spec/tags dir from .gitignore. [brixen]
file AUTHORS Sat Sep 29 01:12:28 -0700 2007 Update AUTHORS [kevinclark]
file INSTALL Thu Oct 18 15:32:23 -0700 2007 Add install task, remove tasks task, make build... [drbrain]
file LICENSE Mon Jan 29 11:07:42 -0800 2007 Added the BSD license statement [evanphx]
file Makefile Tue Nov 13 17:32:37 -0800 2007 Don't complain if the config.mk is missing [evanphx]
file README Thu Oct 18 14:43:12 -0700 2007 Update INSTALL to latest information. [drbrain]
file README-DEVELOPERS Thu Feb 21 17:52:43 -0800 2008 Add note about excessive tracing [drbrain]
file Rakefile Fri Feb 22 21:15:37 -0800 2008 Bootstrap new ar(5) compiler.rba. [drbrain]
file THANKS Wed May 30 14:44:05 -0700 2007 blah [System User]
directory benchmark/ Fri Feb 22 04:29:29 -0800 2008 Move modified bm_vm3_thread_create_join.rb to b... [tmornini]
directory bin/ Tue Feb 19 09:07:20 -0800 2008 Misc MSpec runner changes; see below: [brixen]
file configure Fri Jan 25 16:42:29 -0800 2008 Rework DT compiling, fix configure subscripts [evanphx]
directory doc/ Tue Feb 12 21:01:36 -0800 2008 RDocify (but not hooked into anything yet). [drbrain]
directory kernel/ Fri Feb 22 21:15:37 -0800 2008 Bootstrap new ar(5) compiler.rba. [drbrain]
directory lib/ Fri Feb 22 22:26:52 -0800 2008 Remove ffi_decode_sockaddr, replace with existi... [drbrain]
directory mspec/ Fri Feb 22 22:25:58 -0800 2008 Restore ability to mspec ci with ruby to make c... [drbrain]
directory rakelib/ Fri Feb 22 21:15:37 -0800 2008 Call Ar#after_loaded. [drbrain]
directory runtime/ Fri Feb 22 21:15:37 -0800 2008 Bootstrap new ar(5) compiler.rba. [drbrain]
directory shotgun/ Fri Feb 22 22:26:52 -0800 2008 Remove ffi_decode_sockaddr, replace with existi... [drbrain]
directory spec/ Fri Feb 22 22:26:52 -0800 2008 Remove ffi_decode_sockaddr, replace with existi... [drbrain]
directory stdlib/ Thu Feb 21 17:35:10 -0800 2008 Move the ghastly creation that is tmpdir.rb fro... [wilson]
directory test/ Sun Feb 17 11:48:48 -0800 2008 Moved timeout benchmark to ./benchmark/rubinius/. [rue]
directory tools/ Mon Feb 18 08:12:18 -0800 2008 added nopaste & pastie to rubuildius (thank... [Benjamin Andresen]
README
1. What is Rubinius

Rubinius is a next-generation virtual machine and compiler for Ruby.  Based
loosely on the Smalltalk-80 'Blue Book' design, Rubinius will provide a rich,
high-performance environment for running Ruby code.

2. Running Rubinius

Refer to the INSTALL file for instructions on getting and building Rubinius.

3. Status

Rubinius is under heavy development, and currently supports the basic Ruby
classes and kernel methods. The code base is written in a mixture of ANSI C and
Ruby; with more Ruby and less C as the project proceeds.  You should not run
your mission-critical Rails apps under Rubinius yet.

4. 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.

5. Volunteering to Help

The Rubinius team welcomes contributions, bug reports, test cases, and monetary
support. One possible way to help is implement Ruby library classes. Visit
http://rubinius.lighthouseapp.com for documentation on how to begin hacking
Rubinius.

6. Architecture

Rubinius currently uses C to bootstrap the system. In the future, a limited
dialect of Ruby called cuby/garnet will be used to generate C. This is a
time-honored technique, used by systems such as Squeak, Smalltalk, and Algol on
the Burroughs systems (as seen in the movie 'Tron').

For now, this code is hand-written, and can be found in the ./shotgun/lib
directory.  This code was ported from a Ruby implementation found in the ./lib
directory.  For example, shotgun/lib/object_memory.c is the C translation of
lib/object_memory.rb.

The compiler, assembler, and bytecode generators are all written in Ruby, and
can be found under the ./lib directory.  Other systems use the word
'translator' for what is here referred to as 'compiler'.  The ./bin/rcc script
can be used to display the symbolic output of the compiler, for debugging or
learning purposes.