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

Jon Harrop jon at ffconsultancy.com
Fri Sep 16 20:59:48 UTC 2005


On Friday 16 September 2005 21:54, skaller wrote:
> On Fri, 2005-09-16 at 19:33 +0100, Jon Harrop wrote:
> > > > C is effectively one of OCaml's intermediate representations.
> > > How is that? Ocamlopt generates assembler.
> > Not literally, no.
>
> Literally yes:

OCaml literally generates assembler.

> skaller at rosella:mv /usr/bin/as /usr/bin/gas
> skaller at rosella:/work/felix/flx$ ocamlopt -I src -c src/flx_gen.ml
> sh: as: command not found
> Assembler error, input left in file /tmp/camlasm42f73e.s
>
> It also uses the system C compiler .. but only as a linker.

Yes.

I was clarifying: C is not literally "one of OCaml's intermediate 
representations". But I guess I wasn't very clear...

-- 
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