From: Bulat Ziganshin Date: 2002-09-24T20:04:06+09:00 Subject: Re: Using Ruby with other languages Hello Christian, Tuesday, September 24, 2002, 12:40:20 PM, you wrote: >> on simplest code i see 1000 times difference between C and Ruby. i.e. >> to execute one simple Ruby instruction, interpreter had to execute >> 1000 lines of C code. CS> You are correct: simple programs are the slowest (realtively), CS> but if you use higher level functions (built in functionality), CS> then the slowdown is much less (about 10-50x) than e.g. CS> in a number crunching algorithm implemented purely in Ruby. hmmm. i try to say that Ruby overload is about 1000 asm instructions per method call, and someone had to see is this appropriate for particular program or part of program i personally started from thought that interpreted languages can be used for 90% of code in large projects, switched for this from perl to ruby and still feel that i need more strict language while performance is more subject of algorithms, data structures and system libraries -- Best regards, Bulat mailto:bulatz@integ.ru