Tuesday, July 31, 2007

Ruby? hmmmm!

Well, another day with Ruby and here is something that was bothering me right from day one.
If you have ever written something in Ruby, you might have noticed that Ruby is SLOW. I would go ahead and say that it is "pretty darn slow". May be this is the price you pay for all that 'syntactic sugar'?
A very simple bench mark - I created a class, added a to_s method, tried to print contents of the class, It took 10X time compared to Java 5 & Java 6 on Windows. 

Oh by the way, I have to check out if this is same in OS X too.

No comments: