From: Michael Ulm Date: 2005-05-11T20:30:01+09:00 Subject: Re: ruby vs. java? Franz Hartmann wrote: > > >> From: Michael Ulm --major snip-- >> >> >> Object oriented programming has nothing to do with execution speed. > > > i may be a bavarian wood-head but i just dont understand. do your > programs run faster with oo or do they not? just before you said "fast > (...) design". Mia �sterreicher san oba a Stuasch�dl. You are confusing two concepts here: (i) Design/implementation speed, the time it takes you to program the thing, and (ii) execution speed, the time it takes the program to produce the output. Object oriented programming may help in (i), but not in (ii). So far, I was assuming you want fast execution speed for simulations of physical processes (for nontrivial simulations execution times may easily reach weeks or months). If this is your goal, then none of the three scripting languages you described will be nearly fast enough. Octave might be. C or C++ with the right software libraries would be fastest. If your goal is learning (object oriented) programming, and the simulations are just for you to play around with, then Ruby is an excellent choice (with the caveat, that you may have to implement more "infrastructure" e.g. triangulations, discretisations...). etaoin shrdlu, Michael -- Michael Ulm R&D Team ISIS Information Systems Austria tel: +43 2236 27551-219, fax: +43 2236 21081 e-mail: michael.ulm@isis-papyrus.com Visit our Website: www.isis-papyrus.com