[fpc-pascal] fast text processing

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Oct 31 18:34:06 CET 2007


On Wed, 31 Oct 2007 13:56:04 +0100 (CET)
marcov at stack.nl (Marco van de Voort) wrote:

> [ Charset ISO-8859-1 unsupported, converting... ]
> > > I had never used Perl before. Until someone showed me Perl is
> > > very fast for text processing (using its powerful regex), despite
> > > it's an interpreted language. It even beat Delphi and FPC though
> > > both are compiled language. A few lines Perl program almost two
> > > times faster than a few pages pascal program.
> > 
> > Alright everyone. The answers are enough. Now I can say confidently
> > that pascal (fpc v.2.2) is FASTER than Perl, including in text
> > processing. ;)
> > 
> > Thank you very much to everyone who involves in this thread. :)
> 
> I don't think that everybody that saw:
> 
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&calc=Calculate&xfullcpu=1&xmem=0.5&xloc=0&binarytrees=1&chameneos=0&message=0&fannkuch=1&fasta=1&knucleotide=1&mandelbrot=1&meteor=0&nbody=1&nsieve=1&nsievebits=1&partialsums=1&pidigits=1&recursive=1&regexdna=1&revcomp=1&spectralnorm=1&hello=0&sumcol=1
> 
> ever doubted that.

Does someone know, why java 6 -server is that fast?


Mattias



More information about the fpc-pascal mailing list