On Thu, May 20, 2010 at 8:41 AM, Pepijn Van Eeckhoudt
<[email protected]> wrote:
> I've only used buildr on JRuby myself so sorry if this comes across as
> ignorant. What kind of issues are you guys getting with RJB? I glanced
> through the code quickly and it seems to basically consist of the necessary
> JNI calls to call into the JVM from ruby. I don't think the JVM gives you
> any alternatives to this, so I would expect any other approach to have the
> same set of limitations as RJB.

You'll never be able to get the level of integration with Java you can
get with JRuby through any wrapper. You might be able to make a nicer
wrapper (for some definition of "nicer") but actually running on the
JVM is the way to go.

I'd also like to hear if startup time is as bad as everyone remembers
it with JRuby 1.5. We've done quite a bit of work to improve startup
in this release. There's more to do, for sure, but we're getting
there.

> JNA is a great library, but it basically gives you FFI functionality to call
> native code from the Java side. It does not provide any additional
> functionality for the case where you want to call into the JVM.

If we're on the topic of binding native libraries...just using FFI
from Ruby/JRuby is by far the nicest way.

- Charlie

Reply via email to