JRuby with InvokeDynamic

Charles Oliver Nutter charles.nutter at sun.com
Sat Sep 6 22:55:21 PDT 2008


I've successfully wired invokedynamic into JRuby's dynamic dispatch. It 
only works for compiled Ruby at the moment, and I'm using some features 
which aren't completely optimized yet, but it works. For those of you 
futzing with dynamic languages and inline caches and such, I gotta tell 
ya, it's a heckuvalot nicer than having to wrestle with all that.

I'm taking a step back now to retrofit the modifications for JRuby trunk 
in a way that won't break Java 5 and 6 builds, and once that's done I'll 
provide a pointer here. It's super easy.

- Charlie



More information about the mlvm-dev mailing list