caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Shannon --jj Behrens <jjinux@yahoo.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Kernel in OCAML using native compiler
Date: Mon, 31 Dec 2001 08:01:44 -0800 (PST)	[thread overview]
Message-ID: <20011231160144.47824.qmail@web10705.mail.yahoo.com> (raw)

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

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

Thanks for your time,
-jj

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
-------------------
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


             reply	other threads:[~2001-12-31 16:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-31 16:01 Shannon --jj Behrens [this message]
     [not found] <15408.41633.311678.235219@hector.lesours>
2001-12-31 18:02 ` Shannon --jj Behrens
  -- strict thread matches above, loose matches on Subject: below --
2001-12-20  9:16 Shannon --jj Behrens
2001-12-20 17:42 ` Florian Hars
2001-12-31 21:57 ` Byron Hale
     [not found]   ` <20011231230117.90704.qmail@web10702.mail.yahoo.com>
2002-01-02  1:53     ` Byron Hale
2001-12-31 22:03 ` Byron Hale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011231160144.47824.qmail@web10705.mail.yahoo.com \
    --to=jjinux@yahoo.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).