From: Charles O Nutter Date: 2006-07-27T01:36:28+09:00 Subject: Re: For performance, write it in C ------=_Part_11156_8783862.1153931785567 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I think it's also worth mentioning that talking about the speed of a *language* is rather absurd. You can't benchmark a language, other than through mathematical proofs of complexity. What you can benchmark is an implementation or compiler of a language, which will of course vary widely from version to version. Ruby's current implementation may be slower than many other language implementations, but it's not because it's Ruby. C may be faster than just about anything, but it's not because of C. It's because the compilers and interpreters for those other languages are unable to produce code as optimally as current C compilers--which isn't surprising considering how long C compilers have been around and how little work they actually have to do. The whole "write it in C" thing really ends up being a cop-out. So the current C Ruby implementation isn't fast enough for you? Contribute your time and resources and fix the implementation! Don't bloody patch around it by leaving Ruby behind and writing C code! Demand more from your platform! The community and the fates will thank you. -- Charles Oliver Nutter @ headius.blogspot.com JRuby Developer @ www.jruby.org Application Architect @ www.ventera.com ------=_Part_11156_8783862.1153931785567--