4 ms·
Scala is a "scripting language?" Also, >When the JVM implementation of Ruby, JRuby, added native support for this instruction, its performance zoomed past the
by mbillie1 13y ago
Scala is a "scripting language?"
Also,
>When the JVM implementation of Ruby, JRuby, added native support for this instruction, its performance zoomed past the C-based Ruby VM, which for years has been the Ruby reference platform. As JRuby's performance continues to pull ahead, I fully expect it to become the reference implementation. Certainly, it will become the vehicle by which most organization first try out Ruby.
This was true at some time, afaik the MRI Ruby on 1.9.3+ is faster-than or about-the-same-as the equivalent JRuby implementation. I also know zero people who were first exposed to Ruby via JRuby.
JRuby is awesome btw. I just think this article has a bit of a defensive tone...
- camus 13y agoScala is awesome but not a scripting language. Running Scala as script is insane as it takes 1 or 2 seconds to start the JVM/Compile/Execute a fairly large Scala file. You dont want to use that on your server for scripting purposes. Ruby,Python or PHP are more suited for scripting tasks(especially Java code generation,i'm writing an Android app generator right now,since i was tired of all the boilerplate : json+php script = Activity classes , resources files , ContentProviders generated in less than 0.2 seconds no matter how many tables I need for my apps,saves me hours of work).
- acqq 13y agohttp://benchmarksgame.alioth.debian.org/u64q/jruby.php http://benchmarksgame.alioth.debian.org/u64q/jruby.php There are some areas where JRuby is 3 times faster and the areas where it's 2 times slower. Not impressive, compared to native Java implementations: http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?test=all&lang=jruby&lang2=java&data=u64q http://benchmarksgame.alioth.debian.org/u64q/benchmark.php?t... Where you can get even two orders of magnitude speedup.