Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
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:  FAQ:
To unsubscribe, mail  Archives: