From: Isaac Gouy Date: 2006-07-27T01:15:10+09:00 Subject: Re: For performance, write it in C 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/ ;-) "The results I got were that Java is significantly faster than optimized C++ in many cases... I've been accused of biasing the results by using the -O2 option for GCC..." "...so I took the benchmark code for C++ and Java from the now outdated Great Computer Language Shootout and ran the tests myself" Not so outdated http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=java&lang2=gpp