• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Various JVM Languages: A Comparison

 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adopting New JVM Languages in the Enterprise

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.
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
Java
Clojure
Groovy
Jython
Of course, my own opinion.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

regards
 
Author
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Whatever you say buddy! And I believe this tiny ad too:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic