Hello all. I had an idea the other day to write a runtime optimizer for
jruby.
Basically it would wrap jruby’s internal classes (RubyFixnum) with pure
java wrappers, using interfaces, ex:
a = 3+4
becomes, in mirah
a = ImplementsPlus(RubyFixnum.new(3)).op_plus(RubyFixnum.new(4))
which translates nicely into java, and is hopefully fast.
I have some hopes that it would at least make jruby look better for
artificial benchmarks.
So the question is…is there a lot of demand for this? Would I be
wasting my time here? I want to work on projects that would impact a
lot of people.
Cheers!
-roger-