Vetrivel Vetrivel wrote:
> I have downloaded perl and ruby program in net.I run both the 
> programs.But the Ruby program performance very wost than perl.
> Can any one tell me the reasons and soultion to make ruby as 
>faster than perl. I have attached perl program.


Ruby and Perl are two totally different programing environments and are 
really not to be compared with regards to their run time performance. 
With Ruby the performance issue is shifted to the entire project life 
cycle, and indeed to the complexity of the project. Mere execution time 
of an application represents only a tiny fraction of what is truly 
measured when comparing procedural language like Perl and object 
oriented Ruby. If you compare the two languages in this respect Perl 
doesn't come even close to where Ruby stands. In fact I believe if you 
look at performance issues from this angle, Ruby stands out very proudly 
as the best performing programming language of all times.
-- 
Posted via http://www.ruby-forum.com/.