On Sat, Aug 15, 2009 at 10:45 PM, AlwaysCharging <[email protected]> wrote:
>
> Why would anyone use ruby over Jruby? I'm admittedly a noob about all
> this stuff, but from what I've read jruby seems superior to ruby and
> quite a bit faster. What would be the disadvantages of JRuby? I man
> it's possible to use it with rails now, and JRuby is what's used by
> default in netbeans (which is the ide I think I've settled on). So
> why not JRuby? Would the tutorials be all that different?
You're pretty much free to use any implementation of Ruby for your project.
Also, it really come down to what are your underlying project requirements.
So, why would anyone use Ruby over JRuby?
o dictated by the company
o existing part of current IT infrastructure
o has support for many of the Ruby 3rd party libraries/frameworks/plugins
o developing Ruby C extensions
So, why would anyone use JRuby over Ruby?
o very good performing JVM and much faster than Ruby 1.8.6 (.i.e MRI) and
is on par
with Ruby 1.9.1 (i.e YARV) in a lot of the tests that I have seen online
o allows me to access some very popular Java libraries from Ruby
o supports both Ruby 1.8.6 and Ruby 1.9 language specifications
o has very good support for Rails today
o has very good support for Google App Engine today
o can use a multitude of web server configurations both Java and non-Java
o has support for true multi-threading because the Global Interpreter Lock
(GIL) doesn't exist
I'm sure that there are many more pros for selecting Ruby over JRuby and
vice-versa but you
should be able to get the picture. Please take a look at the following
links for additional information:
http://www.infoq.com/interviews/charles-nutter-jruby
http://www.jruby.com
You might want to also ask your question on the following list which is
dedicated
to the JRuby community:
http://groups.google.com/group/jruby-users
Good luck,
-Conrad
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---