public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Search Repo:
vvs (author)
Mon Feb 11 20:33:49 -0800 2008
commit  60fbbc62cb04b2fddcd406f01f906482fbc84370
tree    71b8a91b68e6ce1b989526f1118749b5097790fc
parent  4e6d8f7e3326f937a6916ed11984172670a71094
name age message
folder .autotest Fri Feb 01 18:04:26 -0800 2008 Added fixture mapping [Ryan Davis]
folder .gitignore Tue Feb 05 10:58:22 -0800 2008 Add message struct and new selector and sendsit... [evanphx]
folder AUTHORS
folder INSTALL Thu Oct 18 15:32:23 -0700 2007 Add install task, remove tasks task, make build... [drbrain]
folder LICENSE Mon Jan 29 11:07:42 -0800 2007 Added the BSD license statement [evanphx]
folder Makefile Tue Nov 13 17:32:37 -0800 2007 Don't complain if the config.mk is missing [evanphx]
folder README Thu Oct 18 14:43:12 -0700 2007 Update INSTALL to latest information. [drbrain]
folder README-DEVELOPERS Mon Feb 04 23:59:56 -0800 2008 Changed Tuple#copy_from to take a destination i... [brixen]
folder Rakefile Mon Feb 11 17:36:54 -0800 2008 Add #rbx, #clear_compiler [drbrain]
folder THANKS Wed May 30 14:44:05 -0700 2007 blah [System User]
folder bin/ Wed Feb 06 07:57:43 -0800 2008 Tiny fix to ./bin/completeness to correctly res... [kamal]
folder configure Fri Jan 25 16:42:29 -0800 2008 Rework DT compiling, fix configure subscripts [evanphx]
folder doc/ Mon Feb 11 20:49:42 -0800 2008 Add target back to generated toc.html [agardiner]
folder kernel/ Mon Feb 11 18:29:41 -0800 2008 Add hits and misses to SendSite, add -ps to sho... [evanphx]
folder lib/ Mon Feb 11 23:26:31 -0800 2008 Zlib.adler32 [evanphx]
folder mspec/ Mon Feb 04 17:39:45 -0800 2008 StringIO#seek now raises if passed bignum offse... [Ryan Davis]
folder rakelib/ Mon Feb 11 19:38:54 -0800 2008 Fix dependency for document generation [drbrain]
folder runtime/ Sun Feb 10 13:23:43 -0800 2008 Revert "Reverts 62a0e4..7712c1 as a single... [evanphx]
folder shotgun/ Mon Feb 11 19:38:54 -0800 2008 Clean up various RDoc bits, and use more English. [drbrain]
folder spec/ Mon Feb 11 20:33:49 -0800 2008 Mark JRuby as not deviating from MRI on unbound... [vvs]
folder stdlib/ Fri Feb 08 14:41:48 -0800 2008 Moved ftools.rb to lib/ [dbussink]
folder test/ Tue Jan 22 02:08:13 -0800 2008 new Module#name benchmark. [zimbatm]
folder tools/ Thu Jan 24 15:55:36 -0800 2008 initial rubuildius commit, read tools/rubuildiu... [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.