From: Minkoo Seo Date: 2006-08-24T22:04:21+09:00 Subject: Re: For performance, write it in C Well put. I totally agree with you. I'd like to mention that you can use inline for this purpose. Have a look at http://on-ruby.blogspot.com/2006/07/rubyinline-making-making-things-faster.html In the article, ruby and inlined c version of prime nubmer checking is compared. As expected, inlined C runs very fast compared to ruby only version. I also have an experience of porting to C++. My application which heavily relied on matrix and log functions took more than 2 days to finish. After I've ported it to C++, it took about 6hrs. Yes, it was amazing performance boost. Sincerely, Minkoo Seo Peter Hickman-2 wrote: > > If you really really want that performance boost then take the following > advice very seriously - "Write it in C". > -- View this message in context: http://www.nabble.com/For-performance%2C-write-it-in-C-tf2002706.html#a5963409 Sent from the ruby-talk forum at Nabble.com.