From: Robert Dober Date: 2006-07-26T19:10:20+09:00 Subject: Re: For performance, write it in C ------=_Part_21446_30625057.1153908616863 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/26/06, Tomasz Wegrzanowski wrote: > > On 7/26/06, benjohn@fysh.org wrote: > > Peter Hickman gave a very good article about prototyping in a scripting > > language, and then re-coding in c: > > > > *snip* > > > > > If you really really want that performance boost then take the > following > > > advice very seriously - "Write it in C". > > > > I totally agree that with the current state of the art, this is the > > right approach. > > Sorry, I just couldn't resist - but maybe you should code Java instead - > http://kano.net/javabench/ ;-) > > Of course not, but it might be of intereset that there are other programming languages out there Ada, ObjectiveC, Scheme, OCAML, Huskell you name it. That said I agree that one can write code beautifully in C (see GTK for example). I do not think that people are treated bad when they say "Hmmm, maybe you should know that this kind of performance is not possible in Ruby or even slightly faster interpreted languages, and that yo= u should consider writing part of it in C, it is not so difficult, have a loo= k here or there" as opposed to those who write "Write it in C if you want speed" That kind of post never gets accepted well and I have the feeling that when the speed issue comes up there is a certain tendence to reply like that. Otoh I agree that the speed issue comes up much too often, but I suggest instead of replying "Write it in C if you want speed", one can ignore the post or point to older posts. Just my 0.02=80. Cheers Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_21446_30625057.1153908616863--