JRuby.do i need it?

Been a Ruby/Rails developer for about 2 years now. I’ve had some
experience developing Java apps a few years back. Mostly command line
tools to support scheduled tasks…etc. Nothing major.

I’ve been somewhat curious about JRuby. Anyone using this platform?
Other than being able to talk to Java via Ruby and vice versa, is
there any performance gains? Is it really worth it?

yes, I am using it exclusively. performance gain it said there is, but
I guess this depends on your application and you have to measure it.

if you need to you can mix java.

you can run it in servlet engine and get a real multi threaded
environment.

but mainly I use it in conjunction with GWT and using maven as build
tool, so everything seams to be glued together by java. kind of funny:
the backend actually is ruby, the frontend is javascript but for build
and development I use java.

worth it, for me definitely. maybe you find some reasons for you as
well, just give it a trial.

regards, Kristian

MJFuzz wrote in post #958314:

Been a Ruby/Rails developer for about 2 years now. I’ve had some
experience developing Java apps a few years back. Mostly command line
tools to support scheduled tasks…etc. Nothing major.

I’ve been somewhat curious about JRuby. Anyone using this platform?
Other than being able to talk to Java via Ruby and vice versa, is
there any performance gains?

JRuby was faster than MRI for a while; I don’t know if that’s still
true.

Is it really worth it?

Probably not unless you need the speed boost or need to run on top of
Java (you can use RJB to talk to Java without JRuby). I find JRuby more
of a hassle to use than MRI, though I’m glad it exists for those few
cases where it’s necessary.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]