public
Description: Rubinius, the Ruby VM
Homepage: http://rubini.us
Clone URL: git://github.com/evanphx/rubinius.git
Search Repo:
pluskid (author)
Fri Apr 18 19:34:54 -0700 2008
wilson (committer)
Thu May 15 10:55:15 -0700 2008
commit  c8120f787000deabd3461ad64369b55eee5bd52c
tree    3ead47de06b5718ced8c0f3151e09380c7f79db7
parent  277caaffad59cdde57bc00267a9f6c04901617e3
name age message
folder .autotest Tue Mar 18 16:25:21 -0700 2008 simplified autotest fixture/shared mapping [Ryan Davis]
folder .gitignore Tue May 13 22:27:06 -0700 2008 Ignore local glimpse index files [Ryan Davis]
folder .gitmodules Fri May 09 17:44:46 -0700 2008 Added rubyspecs as a submodule at spec/frozen. [brixen]
folder AUTHORS
folder CONTRIBUTORS Mon May 05 16:19:32 -0700 2008 Add CONTRIBUTORS file [evanphx]
folder INSTALL Mon May 12 14:55:21 -0700 2008 Updated INSTALL with instructions for getting R... [brixen]
folder LICENSE Wed Feb 27 10:23:15 -0800 2008 Correct typos in LICENSE file, spotted by raggi [wilson]
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 Thu Feb 21 17:52:43 -0800 2008 Add note about excessive tracing [drbrain]
folder Rakefile Wed May 14 13:22:41 -0700 2008 Added spec:check to run all rubyspecs with Matz... [brixen]
folder THANKS Wed May 30 14:44:05 -0700 2007 blah [System User]
folder benchmark/ Fri Mar 28 18:33:57 -0700 2008 Added CType#isctrl, #toprint. Rework String#ins... [brixen]
folder bin/ Mon Apr 07 12:20:25 -0700 2008 Moved bin/mkspec, completeness to mspec/bin. [brixen]
folder doc/ Thu Apr 03 04:21:26 -0700 2008 Added doc/rubini.us/ to store static website te... [rue]
folder kernel/ Thu May 15 10:55:15 -0700 2008 Fixes and specs for InstructionSequence::Encode... [pluskid]
folder lib/ Wed May 14 18:28:15 -0700 2008 Move Module and Kernel versions of __add_method... [wilson]
folder mspec &rarr 14d88a5 Wed May 14 13:23:26 -0700 2008 Updated MSpec submodule to 49520f3f [brixen]
folder rakelib/ Wed May 14 16:17:57 -0700 2008 Run spec:update AFTER git:update, not before [evanphx]
folder runtime/ Wed May 14 18:28:15 -0700 2008 Move Module and Kernel versions of __add_method... [wilson]
folder shotgun/ Wed May 14 09:15:27 -0700 2008 Remove custom strtod handling [dbussink]
folder spec/ Thu May 15 10:55:15 -0700 2008 Fixes and specs for InstructionSequence::Encode... [pluskid]
folder stdlib/ Thu Apr 24 18:31:19 -0700 2008 Moved cgi, csv, drb, generator, complex, rexml ... [brixen]
folder test/ Sat Apr 26 08:47:04 -0700 2008 Update to RDoc r56. [drbrain]
folder tools/ Thu May 01 16:11:30 -0700 2008 Added quickstart to readme [Ryan Davis]
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.