[Shootout-list] Missing programs and score calculation (Was:

Jon Harrop jon at ffconsultancy.com
Fri Sep 16 10:22:47 UTC 2005


On Friday 16 September 2005 08:23, Marco van de Voort wrote:
> > 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)

That is Skaller's point: HLLs produce faster code because it is easier to 
optimise them at a high level, e.g. by not "reparsing headers ad infinitum". 
Comparing the performance of ocamlopt to gcc is a bad idea though - C is 
effectively one of OCaml's intermediate representations.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists



More information about the Shootout-list mailing list