Hi all!

I tried the new option for jruby+truffle in RVM:

rvm mount -r 
http://lafo.ssw.uni-linz.ac.at/graalvm/jruby-dist-9000+graal-macosx-x86_64.dev-bin.tar.gz
 -n jruby-graal

I ran the following version of fibonacci:

def fib(n)
  n <= 2 ? 1 : fib(n-2) + fib(n-1)
end

fib(40)

Results:

MRI 2.1.5:  9 seconds
JRuby 1.7:  3 seconds
JRuby master:  9 seconds
JRuby+Truffle:  2 seconds

JRuby+Truffle is looking good!  (Still only passing about half the RubySpec, 
but still impressive).

--
Uwe Kubosch
u...@kubosch.no
http://kubosch.no/





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

    http://xircles.codehaus.org/manage_email


Reply via email to