From: Thomas Link Date: 2003-09-22T19:09:26+09:00 Subject: Re: Performance: Ruby vs Java > I'm a newcomer to Ruby, and thought I would write a little > brute-force-search program to see how Ruby compares to Java - > performance wise. The results surprised me (I was hoping Ruby would > fare a lot better than it did!). On my WinXP box (AthlonXP 1800+, > 768Meg RAM), the Ruby program takes 1min 50secs to complete, while a > similar java program takes 0.6 secs. Just a note/thought: I once implemented a similar program in several programming languages. When it came to ruby, my conclusion was to rather use "Narray" for code like this. Narray is a ruby extension written in C, which makes it sufficiently fast. It requires a small modification to the algorithm though. Cheers, Thomas.