Rainman
A specialising compiler for the Ruby language.
Duration:
July 2004
- March 2005
Size: Medium
Employer: Ecole polytechnique fédérale de Lausanne (EPFL)
Skills used:
C
POSIX programming
Python
Ruby
Achievements
- Conception and Implementation of an on the fly compiler
- Study of the Psyco Just in Time Specializer.
- Choice of a virtual machine to use as the foundation of the thesis
- The construction of such a virtual machine
- The construction of a compiler for the Ruby language, targetting the constructed virtual machine.
- Construction of a Specializer that was able to use the infrastructure built.
- Master thesis, achieved the mark 6/6
Description
Rainman is a specialising compiler for the Ruby language. It is shaped after Psyco, the specialising compiler for Python.
Optimisations include logic operations and integer operations.