This repository contains the Ruby-specific JIT glue code that combines with the Eclipse OMR to form a Just-In-Time compiler for Ruby.
Read more about the Ruby+OMR Preview in the rubyomr-preview repo.
This JIT compiler currently only supports a specially modified version of Ruby 2.2, and currently exercises only a small fraction of the optimizations that exist in OMR.
Currently this JIT has only been built and tested on Linux, x86, POWER, and z/Architecture (s390x).
Currently, the OMR JIT doesn't support OS X, however an issue is open.
Building this JIT requires
-
A copy of the CRuby source code, modified with the OMR JIT interface. We currently have a copy of said VM in the Ruby+OMR Preview Github organization.
Branches that support building against this JIT, have the current repository added as a submodule.
-
A copy of the Eclipse OMR project. This too should exist as a submodule in one of the branches of the VM above.