public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
dgtized (author)
Tue Apr 22 10:17:41 -0700 2008
commit  a58dfb869990f9999b5488ff186ccd367f896aae
tree    298a8edd33d7cacafe68271513e8b7a1b451726e
parent  21d99b3411295f2887f84bca52549f40273baa14
name age message
file .autotest Wed Mar 12 14:27:54 -0700 2008 added RUBY env for autotest [zenspider]
file .gitignore Sat Mar 08 17:11:30 -0800 2008 Remove lightning, libzip from .gitignore. [drbrain]
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 Wed Feb 27 10:23:15 -0800 2008 Correct typos in LICENSE file, spotted by raggi [wilson]
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 Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
file THANKS Wed May 30 14:44:05 -0700 2007 blah [System User]
directory benchmark/ Tue Mar 11 02:29:58 -0700 2008 Prevent bin/bm from crashing on long test names... [tmornini]
directory bin/ Tue Mar 11 02:29:58 -0700 2008 Prevent bin/bm from crashing on long test names... [tmornini]
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/ Wed Apr 16 22:04:58 -0700 2008 Pass 1 through adding Task execution [evanphx]
directory lib/ Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
directory mspec/ Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
directory rakelib/ Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
directory runtime/ Sun Mar 09 00:12:22 -0800 2008 Stables need recent changes to compile with VM ... [brixen]
directory shotgun/ Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
directory spec/ Tue Mar 25 17:17:59 -0700 2008 Reworked compiler for new call convention [evanphx]
directory stdlib/ Tue Mar 11 14:58:02 -0700 2008 Nuke matrix.rb from stdlib [oleg dashevskii]
directory test/ Sat Mar 08 20:42:34 -0800 2008 Import RubyGems r1641 [drbrain]
directory tools/ Mon Mar 10 03:36:35 -0700 2008 Add example dtrace script for examining garbage... [crafterm]
directory vm/ Tue Apr 22 10:17:41 -0700 2008 added Fixnum multiply,divide, and modulo [dgtized]
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.