Hey, I got an "IRB" working on Android tonight. It was pretty easy.
The details are on my blog post:

http://blog.headius.com/2009/08/return-of-ruboto.html

This is still just running in interpreted mode, but it's a second
demonstration that JRuby can run well on the phone. The additional
goals I outline in my blog post are:

Ability to run 100% precompiled with no runtime code generation
Strip out parser, interpreter, compiler, and bytecode-generation bits
to shrink the jar
Tidy up the AOT compiler and wire it into the app build process
Generate some Ruby stub logic for the Android APIs, so they'll work
well from Ruby
Strip down the weirder and wilder Ruby features (eval, etc) to allow
fastest-possible execution

These are all pretty easy, and would be useful for more than just
Android (think embedded uses of JRuby that are all interpreted or all
precompiled or just want a smaller binary).

Anyway, check out the code
(http://github.com/headius/ruboto-irb/tree/master) and give it a try.
And of course I'd love to see others help out with this. Even if you
don't have an Android phone, it's fun to play with and the dev tools
make it easy to test stuff out.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to