2 ms·
...and that is why the latest generation of JVM languages such as Scala, Clojure and Groovy are so popular. Java the platform is extremely stable, highly optimi
by rabbitfang 14y ago
...and that is why the latest generation of JVM languages such as Scala, Clojure and Groovy are so popular. Java the platform is extremely stable, highly optimized and heavily instrumented. Java is much less verbose than C++ (the main alternative when it was released), but the times have moved on.
With Scala statically typed and verbose are not synonymous. Statically typed = high performance. Type inference and compact syntax = expressive. Best of both worlds. Languages like Ruby bring expressive syntax, but performance suffers. Performance is becoming increasingly important with mobile applications, one of many reasons Ruby adoption has stagnated since the end of 2010 (see open source contribution and indeed.com charts).
- house9 14y agoDont forget - there is also jruby
- rabbitfang 14y agoJRuby is pretty nifty, still can't compare performance-wise to statically typed languages e.g. Scala: http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=jruby&lang2=scala http://shootout.alioth.debian.org/u64q/benchmark.php?test=al... Probably more comparable to Groovy in syntax and performance.
- igouy 14y agoI wish people would try to write better and contribute Ruby programs for the benchmarks game :(