From: Stefan Rusterholz Date: 2007-08-26T21:04:26+09:00 Subject: Re: Ruby Vs. Java Nick el wrote: > Which programming language is faster - Ruby or Java? > > This is one of the things that will decide whether I use Ruby or Java so > help is appreciated greatly. > > Thanks. Development speed: Ruby, hands down Execution speed: Java, hands down That said, the main problem with execution speed are poor algorithms. With ruby, you develop it, maybe in a quarter of the time you'd need in java, then you see if it is fast enough. Most often you'll see it already is. If not, you profile. Most often you'll then notice it is one or two bottlenecks only. You'll see if you can make it faster using pure ruby, if that fails, you can always write a C extension (or use a java lib if you use jruby). In the end you spent half the time you'd spend with java and your app runs fast enough. Similar thing probably with java vs. c. Regards Stefan -- Posted via http://www.ruby-forum.com/.