The above blog article/post talks about introducing a new language to the JVM enterprise. I like that it makes comparisons of a few of the languages: JRuby, Scala, and Clojure in particular.
He claims that JRuby is the leader. I really like Ruby, but I don't know if I'd say JRuby is the current leader though it certainly has to capability of becoming so.
He originally left Groovy completely out of the picture and I would have thought Groovy has had more acceptance simply because those new to the language can pick up on it bit by bit as they move from Java.
I'm not a big fan of Clojure and I'm surprised it has gotten as much recognition as it has. Maybe I just need to play with it more. ((()))()(()((()(())()(()
I like that he compared how difficult it would be for a strictly Java background programmer to pick up each language and the performance difference of code.
Currently, I'm playing around Clojure and all what I say, what a learning curve!
I never played around any LISP dialect, maybe this is why I find it is hard to digest but it is a nice departure from many other programming languages.
JRuby is great for Ruby programmers how are suffering from the bad performance of Ruby interpreter and they are seeking to deploy Rails applications on Glassfish.
I don't know why he is underestimating Groovy, this language offers the best integration with Java Platform and so easy to grasp.
Scala seems interesting but I'm afraid of it, it look so complicated and titanic.
My current favorite JVM languages:
Of course, my own opinion.
I think this is the best thread to post my query. I am new to both Ruby and Groovy so pardon my ignorance.
What does Ruby offer that Groovy does not or vice versa?. Both are geared towards J2EE environment. My understanding was
that Ruby and RoR both are a bit of leap forward from plain ol' Java, but the syntax had different feel to it than Java.
But Groovy feels like java intentionally --- (I believe that is because Groovy wanted to Ruby killer ).
So my question is what would should one lean towards, Groovy(Grails) or Ruby/JRuby (RoR).
The problem is I am facing is the time constraints. I like the idea that people are pushing the envelop all
the time -- but we all have so much time. We need to solve problems, not try to tied a particular language.
Like, I would use awk so some simple grep processing in a small file in UNIX. But use perl to do string manipulation
if the file is big. But would use database for real queries.
So my question is what problems Ruby can solve, but Groovy cannot and vice versa?
I get a lot out of working with Ruby, part of it are all the tools/libraries out there, part because it's a very productive language: it may not do more, but you'll get more done in a given day. Its fun to use, which might be a reason for getting more done with it.
Just my impression, but I think there's a lot of innovation and creativity happening around Ruby. Maybe there's something in the language? When I notice that other languages are comparing themselves to Rails, Web frameworks to Rails, etc the logical question is, why not be in the center of it all?
Remember that Ruby runs very well on the JVM (JRuby), but being its own language gives it opportunity to do things differently, possibly better.