[Shootout-list] Missing programs and score calculation (Was:
Marco van de Voort
marcov at dragon.stack.nl
Fri Sep 16 07:23:31 UTC 2005
> Felix outperforms C/C++ even though it actually generates C++!
In selected benchmarks of course. One benchmark that is known to favour
functional languages is a bit simplistic isn't it ? :-)
> g++ uses massive amounts of memory, which simply isn't required.
> Why? Because it is written in a brain dead language. It is=20
> very slow as well.
>
> Compare that with the Ocaml native code compiler .. which is=20
> lightning fast -- both because it is written in a high
> level language, and also because it is implementing one.
gcc is so slow due to the fact that it reparses headers ad infinitum (no
precompiled headers) and because it starts a zillion different processes per
compilation unit (at least cpp,gcc and as)
E.g. FPC (which is also in the list) can beat gcc 10 times in speed (a
hundred times even in not that extreme cases) because of these reasons, and
isn't even that much optimized for compilation speed.
P.s. ld is also both a mem and cpu hog.
More information about the Shootout-list
mailing list