Hi,
Just wondering (before I try it:)
Has anybody used gcj to compile .class files produced by JRuby (from .rb
files) into binary? Before I do some, anybody done any benchmarks?
I’ll post some results later on…
Thanks,
Asfand Yar
Hi,
Just wondering (before I try it:)
Has anybody used gcj to compile .class files produced by JRuby (from .rb
files) into binary? Before I do some, anybody done any benchmarks?
I’ll post some results later on…
Thanks,
Asfand Yar
Asfand Yar Qazi wrote:
Hi,
Just wondering (before I try it:)
Has anybody used gcj to compile .class files produced by JRuby (from .rb
files) into binary? Before I do some, anybody done any benchmarks?I’ll post some results later on…
Thanks,
Asfand Yar
Oh sorry: I misunderstood the purpose of JRuby: I thought it compiled
Ruby source code to Java Bytecode. It’s just a Java-based interpreter.
–
I think you’ll be a little disappointed to find that JRuby doesn’t
generate .class files, it only works as an interpreter…
We might write a compiler for it, but don’t expect any dramatic speed
gains.
/Anders
— Asfand Yar Qazi <im_not_giving_it_here@i_hate_spam.com> wrote:
Hi,
Just wondering (before I try it:)
Has anybody used gcj to compile .class files produced by JRuby (from
.rb
files) into binary? Before I do some, anybody done any benchmarks?
=====
Anders Bengtsson ndrsbngtssn@yahoo.se
Stockholm, Sweden
Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index.html
Yeah, but the difference isn’t really that big. Most of the code in
JRuby is about implementing a Ruby runtime (classes, objects, methods
and all that), which would be the same even if we had a compiler.
/Anders
— Asfand Yar Qazi <im_not_giving_it_here@i_hate_spam.com> wrote:
Oh sorry: I misunderstood the purpose of JRuby: I thought it compiled
Ruby source code to Java Bytecode. It’s just a Java-based
interpreter.
=====
Anders Bengtsson ndrsbngtssn@yahoo.se
Stockholm, Sweden
Höstrusk och grå moln - köp en resa till solen på Yahoo! Resor på adressen http://se.docs.yahoo.com/travel/index.html