tag:blogger.com,1999:blog-4704664917418794835.post5802190875943688734..comments2023-07-01T05:41:30.469-07:00Comments on Headius: Top Five Questions I Get Askedheadiushttp://www.blogger.com/profile/15717357218364947795noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-4704664917418794835.post-41994348823120900342007-11-02T12:23:00.000-07:002007-11-02T12:23:00.000-07:00Two question :1) Is JRuby team planning to merge m...Two question :<br><br>1) Is JRuby team planning to merge more code from Rubinius (beyond the specs) into JRuby at some point in the roadmap? <br><br>2) Is JRuby going to go beyond the ruby language, adding features that are not in the MRI? What do you think about a future with several Ruby-VM-dialects (alà Smalltalk) ? <br><br>Thx.Pedrotheplana.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-82030068834055782392007-11-03T06:27:00.000-07:002007-11-03T06:27:00.000-07:00When you sayJRuby's performance is great, and ...When you say<br><i><br>JRuby's performance is great, and improving every day. Straight-line execution is now typically 2-4x better than Ruby 1.8.6.<br></i><br>is that with JRuby 1.0.x or 1.1b?<br><br>Thanks for your hard work in bringing Ruby to the JVM!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-23173717282265134532007-11-03T16:21:00.000-07:002007-11-03T16:21:00.000-07:00Anonymous: 1.1 is the big performance release. 1.0...Anonymous: 1.1 is the big performance release. 1.0.2 is still mostly interpreted, and usually about 2-3x slower than Ruby 1.8.6.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-69806390762067710182007-11-04T07:25:00.000-08:002007-11-04T07:25:00.000-08:00isaac: Great, thanks for updating the numbers! It ...isaac: Great, thanks for updating the numbers! It will give us some area to examine before 1.1 final.<br><br>I'm confused why some numbers are still slower than Ruby though. I was unable to find any shootout benchmark that ran slower for me in JRuby than in Ruby. Perhaps I need to set up the same shootout bootstrap process to see for myself why the numbers are lower than I'd expect.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-58279637426536921232007-11-04T07:40:00.000-08:002007-11-04T07:40:00.000-08:00isaac: I discovered something interesting about th...isaac: I discovered something interesting about the benchmarks: because they're .ruby instead of .rb, the (admittedly weak) logic in the compiler is not parsing the filename into a class name correctly, resulting in it failing to compile and falling back on the interpreter. I would expect this to severely impact every benchmark in the suite.<br><br>It's a JRuby bug, so this is just a heads-up for you and for readers, but we'll have it resolved before 1.1 final.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-55910572432207237232007-11-04T09:07:00.000-08:002007-11-04T09:07:00.000-08:00From my perspective that's great - the reason ...From my perspective that's great - the reason I bothered testing the beta was on the off-chance it might hit some odd bug ;-)Isaac Gouynoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-51457185321985208632007-11-04T10:46:00.000-08:002007-11-04T10:46:00.000-08:00isaac: and since you did, I'm quite happy abou...isaac: and since you did, I'm quite happy about it :)Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-76182092467064386632007-11-04T10:49:00.000-08:002007-11-04T10:49:00.000-08:00pedro:1) We are actively exploring the possibility...pedro:<br><br>1) We are actively exploring the possibility of incorporating Rubinius's pure-ruby core classes for experimentation, but probably not for shipping, final versions of JRuby until we can overcome the resulting performance hit.<br><br>2) Outside of Java integration, which is of course entirely different from Ruby, we have no plans to extend Ruby in incompatible ways. I believe the other implementers are largely adhering to the same modus operandi.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-29694377832355721252007-11-04T11:23:00.000-08:002007-11-04T11:23:00.000-08:00How about Merb on MRI vs. Merb on JRuby?How about Merb on MRI vs. Merb on JRuby?Giles Bowkettnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-82540401212471000682007-11-04T11:48:00.000-08:002007-11-04T11:48:00.000-08:00Giles: in terms of performance? I don't believ...Giles: in terms of performance? I don't believe anyone's tried it. As far as I know, since Mongrel works in JRuby just fine, Merb should work as well. It's on a list of things I want to play with, but haven't had time.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.com