Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rubinius helping Ruby swallow Java, one bytecode at a time.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
README
The JVM is a stack-based bytecode interpreter with profile-driven JIT
compilation. So is Rubinius.

I like the following analogy: a funnel makes it easy to pour in one
direction. Pouring Ruby semantics into the JVM is like using a funnel
backwards. Let's turn this funnel right-side up and pour Java bytecode
into Rubinius.

The basic idea is to read in Java class files, translate the bytecode
and create Rubinius execution contexts, and run.

Anyway, don't expect any Enterprise (tm) level shit, I'm just playing
around at the moment. Cool?

==

Try it
------

    $ echo 'public class Hello {}' > Hello.java
    $ javac Hello.java
    $ bin/charm javap Hello

Something went wrong with that request. Please try again.