So, does this mean we can expect the same goodness for other dynamic JVM languages? Clojure maybe?
Massive Ruby speed boost with JRuby and Java 7.
51–60 of 79 posts
Re: Massive Ruby speed boost with JRuby and Java 7.
#52Earlier quoted context omitted.
a) There will be problems in the Computer Language Benchmark. Like with the excellent LuaJit, they only allow one version of a language, so a war of implementations to appear would not be surprising. b) Now that Python is in a difficult transition to Python 3, a strong ruby is a game changing point. Antonio Cangiano `New Relic Holy Shmoly, Ruby 1.9 smokes Python away!` could be Jruby smokes Python away :) (if there i…
Oh, and regarding JRuby versus Python 3...yes, if Ruby 1.9 smokes Python, and JRuby is faster than Ruby 1.9, then JRuby should smoke Python even more. I have not done the comparisons myself, though.
A big IF? :-)
http://shootout.alioth.debian.org/u32/benchmark.php?test=all...
Re: Massive Ruby speed boost with JRuby and Java 7.
#53Anyone done any comparisons between this and the official (MRI/KRI/YARV) 1.9.2 or 1.9.3?
a) There will be problems in the Computer Language Benchmark. Like with the excellent LuaJit, they only allow one version of a language, so a war of implementations to appear would not be surprising. b) Now that Python is in a difficult transition to Python 3, a strong ruby is a game changing point. Antonio Cangiano `New Relic Holy Shmoly, Ruby 1.9 smokes Python away!` could be Jruby smokes Python away :) (if there i…
???
http://shootout.alioth.debian.org/u32/jruby.php
> Ruby 1.9 smokes Python away!
"I ran a recursive Fibonacci function..." Really.
Re: Massive Ruby speed boost with JRuby and Java 7.
#54Re: Massive Ruby speed boost with JRuby and Java 7.
#55Earlier quoted context omitted.
Great attitude.
Really glad that @headius is getting some recognition for his dogged work in this space. I know he's been up against a sometimes quite hostile Ruby crowd but has remained a gentleman throughout.
Re: Massive Ruby speed boost with JRuby and Java 7.
#56I understand that most of the performance boost comes from the the invokedynamic optimization, not from anything special inside JRuby. So, does this mean we can expect the same goodness for other dynamic JVM languages? Clojure maybe?
Re: Massive Ruby speed boost with JRuby and Java 7.
#57Earlier quoted context omitted.
I obviously have, but I have a lot of respect for the MRI folks and usually don't publish those results. You're free to try it out yourself. In general, JRuby should be significantly faster than MRI 1.9.2 or 1.9.3 for running Ruby code, and usually faster inside the core classes (String, Array, etc). If it's not, I consider it a bug, and encourage bug reports to that effect.
Why would respect for the MRI devs stop you from publishing benchmarks? It's not an insult to say that something else is faster. I'd imagine the competition might drive them to improve if at all possible.
Re: Massive Ruby speed boost with JRuby and Java 7.
#58I've been eyeing jruby for quite a while but never had much success with it. There seems to always be the odd gem not supporting it (e.g. jruby-openssl is broken which a lot of my stuff depends on).
Re: Massive Ruby speed boost with JRuby and Java 7.
#59I've been eyeing jruby for quite a while but never had much success with it. There seems to always be the odd gem not supporting it (e.g. jruby-openssl is broken which a lot of my stuff depends on).
Re: Massive Ruby speed boost with JRuby and Java 7.
#60Earlier quoted context omitted.
I feel like the MRI devs get beat on a bit too much, and they're doing the best job possible with very few paid developers. I'm more interested in showing how JRuby is improving over time than rubbing salt in the wounds.
Speaking of very few paid MRI developers, does anyone know if the Ruby project takes donations to hire full-time paid developers? If yes, could you please point us to the donations page?