3 ms·
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 n
by KirinDave 18y ago
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.
- davidw 18y agoThe JRuby guys have definitely been doing lots of good work, it's just impressive to see it pay off like that.
- old-gregg 18y agoI 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.
- ohhmaagawd 18y agojruby startup is about <1 second on my box. They did a bunch of tweaks earlier this year to solve the issue.
- old-gregg 18y agoNo 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).
- petercooper 18y agoI 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.
- catch23 18y agoJRuby 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.