News for hackers. Stuff that matters.
Re:The Great Ruby Shootout (December 2008) by KirinDave on Tuesday December 09, 2008 @11:32AM (#391414)
I'm glad that we're starting to see realistic and absolute comparisons.

And I wonder how many people are surprised to learn that JRuby is doing so well right now.

Re:The Great Ruby Shootout (December 2008) by davidw on Tuesday December 09, 2008 @11:41AM (#391422)
The JRuby guys have definitely been doing lots of good work, it's just impressive to see it pay off like that.
Re:The Great Ruby Shootout (December 2008) by old-gregg on Tuesday December 09, 2008 @01:53PM (#391577)
I don't like JVM: I hate the mandatory 2-second startup time and "warming up" time. And the standard set of libraries doesn't look particularly well engineered to me (comparing Java SE to .NET or Python's libs). Also, despite being enterprise-tested and good at memory management with it's "best in class" generational GC, Java programs continue to be memory hogs, based on personal experience.

But you can't beat a nice piece of software (JRuby) and the huge ecosystem of high quality Java libraries. Moreover, JRuby guys are awesome at listening and talking to their community. You can go and ask any question about JRuby internals on #jruby - someone will always be there.

I am definitely considering switching my projects to JRuby, just need to find time.

Re:The Great Ruby Shootout (December 2008) by ohhmaagawd on Tuesday December 09, 2008 @02:37PM (#391653)
jruby startup is about <1 second on my box. They did a bunch of tweaks earlier this year to solve the issue.
Re:The Great Ruby Shootout (December 2008) by old-gregg on Tuesday December 09, 2008 @03:18PM (#391699)
No it isn't. I am seeing an even lower number: 0.24 sec on my box, right after reboot.

That's called the filesystem cache and pre-fetch daemon (present on Vista/OSX).

Re:The Great Ruby Shootout (December 2008) by petercooper on Tuesday December 09, 2008 @06:01PM (#391978)
I hate the mandatory 2-second startup time and "warming up" time.

I got about 0.45s for a basic Java app on first start, then 0.2s subsequently. For a JRuby one-liner, I get 0.618s consistently (no first start to count). So while JRuby appears to add about 0.4s to startup, it's no 2 seconds.

Re:The Great Ruby Shootout (December 2008) by catch23 on Wednesday December 10, 2008 @07:53AM (#392821)
JRuby is great, the only issue with existing projects is trying to convert all the gem dependencies that use native code over to java. Popular ones like Hpricot have jruby equivalents, but unpopular ones like ruby-gsl or image_science have no hope.