From: Mike Wilson Date: 2005-09-25T23:39:03+09:00 Subject: Re: Relative speed of Ruby vs Java for a large compiled app like Freenet On 9/25/05, seekingleverage@gmail.com wrote: > I'm wondering if anyone could shed some light on whether or not it > would make sense to do a Freenet client in Ruby. > > Obviously, from an elegent code standpoint, Ruby is probably more > manageable and in general a better all round experience. > > What I'm curious about though, is the execution speed of compiled Ruby > code vs Java running on the virtual machine. > > Can anyone shed some light on this? > > Thanks, > Phil As with everything, this depends on a lot of factors. I've personally found java's jvm to take a little longer to load (at least the last time I timed it), and therefore short-lived programs can be faster in Ruby. Although, that also leads me to the fact that I can generally put better code together in Ruby than in Java, so expertise in a language would obviously have a lot to do with it as well (not that I'm an expert with Ruby -- just better than I am with Java).