English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] OCaml to C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-09 (08:50)
From: Jere Sanisalo <xm_ocaml@x...>
Subject: Re: [Caml-list] OCaml to C
On Sat, May 08, 2004 at 04:37:16PM -0500, John Goerzen wrote:
>However, if you are going to do that, why not just compile the code to
>native code with ocamlopt and not worry about the C piece?

Because ocaml compilers/runtimes do not exist for every platform (say,
consoles). And because compiling to C code could allow you to write
independent libraries for others to use. It would be nice to release
libraries that do a ton of stuff, usable for C/C++ coders, that were written
easily with ocaml. And also some managers seem to trust projects that are
"pure C/C++" much more than projects that use a variable amount of

Jere Sanisalo [xm@xmunkki.org] - http://www.xmunkki.org/

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners