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
Re: [Caml-list] Kernel in OCAML using native compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-31 (16:01)
From: Shannon --jj Behrens <jjinux@y...>
Subject: Re: [Caml-list] Kernel in OCAML using native compiler
I hope you don't mind if I ask you another question
conscerning writing a kernel in OCAML.  I was writing
a few programs to find primes in C and in OCAML so
that I could compare the performance.  It appears that
OCAML offers a very nice compromise of code length and
code execution speed.  However, I also noticed
occasional pauses in the primes generation during
which (I assume) OCAML was doing its (two levels) of
garbage collection.  I fear that reference counting
might be a more appropriate algorithm for *GC in a
kernel* than what I guess is two levels of mark and

Can you comment on this or perhaps offer any
workarounds?  I did play with the Gc module's control
structure, but didn't really gain any huge

Thanks for your time,

Do You Yahoo!?
Send your FREE holiday greetings online!
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr