From: "ara.t.howard" Date: 2008-05-02T03:10:30+09:00 Subject: Re: What are the weaknesses in Ruby? On Apr 29, 2008, at 8:20 PM, John wrote: >> >> >> /Au contraire/ - I tend to code very fast in Ruby. Of the 20-odd >> languages I have used professionally, it provides the highest >> developer >> productivity. > > I mean like processing speed. A C program will probably outrun a ruby > program, all else being equal. don't forget - ruby *is* a c program. thus, if you are leveraging this fact by staying inside native ruby functions or using extensions, it should be roughly equal. this is especially true if you consider using a gc in c to prevent leaks and writing complex programs in c, where you often end up using naiive implementations to maintain your sanity. a perfect example is narray, you can to *extremely* fast operations using it. i've personally replaces server pure c and fortran programs of 1000s of lines with 100 or so lines using narray carefully and ended up with smaller memory footprints and faster execution. in the end it's about understanding precisely what you are doing with ruby: a great c program to extend. a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama