[fpc-other] Which programming language is fastest?

Mattias Gaertner nc-gaertnma at netcologne.de
Mon May 9 23:45:42 CEST 2011


On Mon, 9 May 2011 14:27:51 -0700 (PDT)
Isaac Gouy <igouy2 at yahoo.com> wrote:

>[...]
> 3) The blog post shows summary statistics from one of the 4 sets of up-to-date measurements shown on the benchmarks game website - but never mentions that those measurements were made on a quad-core machine.
> 
> The blog post never mentions that several of the C++ programs were written to use multi-core but the corresponding Free Pascal programs were not - and that has increased the performance difference.

No.
I did some tests myself and came to similar results. For example the
knucleotide test in c++ runs in about 3 seconds on my quad core and about 10seconds on a single core. The fpc program needs 50secs.
The times shown are for single cores.

 
> The blog post could have avoided that confusion by examining measurements where the programs were forced to use just one core.
> 
> Better still, just compare the C++ and Free Pascal program performance directly -
> 
> http://shootout.alioth.debian.org/u64/pascal.php


Mattias


More information about the fpc-other mailing list