I wonder if java-inline could be used from within a C interpreter, as
well…that might be useful for popularizing duby.
It’s probably possible using something like RJB. I’ve never used RJB
for anything though.
My first feature request would be to allow it to work in other
interpreters – I can probably speak for others by saying that I would
definitely prefer using java inline to c inline.
It’s probably possible using something like RJB. I’ve never used RJB
for anything though.
My first feature request would be to allow it to work in other
interpreters – I can probably speak for others by saying that I would
definitely prefer using java inline to c inline.
Patches enthusiastically accepted I have never used RJB, but
java_inline’s logic is pretty trivial. All you’d need to do is compile
the generated source, get RJB to load the class, and bind that class
however you normally do with RJB. In JRuby it’s almost no code at all;
in RJB, it probably wouldn’t be a whole lot more.