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] Functors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-03 (14:43)
From: Jacques Carette <carette@m...>
Subject: RE: [Caml-list] Functors
> Separate compilation is a tradeoff between
> fast building and fast executables.

At the speed of today's computers, choosing 'modules' as the grainyness
level to do seperate compilation seems out-dated.  Creating a way to collect
modules together (call them packages for lack of a better term) and having
seperate compilation at the level of packages instead of modules would
probably be a better tradeoff point these days.

I know of people who have their 'build' scripts concatenate all their Ocaml
source files into one large file before compiling anything; the resulting
compilation time is still very short, but the corresponding executable is
significantly faster!

Jacques

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