Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: dsl@tepkom.ru, Caml mailing list <caml-list@inria.fr>
Subject: Re: Different GCs for OCaml
Date: Fri, 4 Aug 2000 12:08:10 +0200	[thread overview]
Message-ID: <20000804120810.02409@pauillac.inria.fr> (raw)
In-Reply-To: <3986D4B8.748DDE07@tepkom.ru>; from Dmitri Lomov on Tue, Aug 01, 2000 at 05:46:32PM +0400

> By the way, did anybody succesfully applied a different
> GC to OCaml?

I haven't heard of it, and that would be a major undertaking.  It's
like hand surgery: in principle, it is possible to reconnect a hand to
a wrist; in practice, there are so many tendons, nerves and vessels to
reconnect...

> I've tried to add parallelism -- more specifically, to collect
> major heap in a separate thread -- but failed to do so:
> as usually with parallel programs, I've got lots of bugs that
> were just nightmare to track down.

GC bugs are also quite a nightmare...

> So, after two weeks of trying, I just abandoned this, with hope
> to return to this some day. 

Damien Doligez's PhD thesis was precisely on a concurrent collector in
the style of OCaml's collector.  (Actually, this is backwards: the
concurrent collector was designed first, and the current OCaml
incremental GC was derived from it.)  The two POPL papers and the
dissertation available from http://pauillac.inria.fr/~doligez/caml-guts/
give a good idea of how difficult efficient concurrent collection is.

- Xavier Leroy



      reply	other threads:[~2000-08-04 17:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-19 16:50 Jack Point
2000-07-21  7:59 ` Ken Wakita
2000-08-01 13:46   ` Dmitri Lomov
2000-08-04 10:08     ` Xavier Leroy [this message]

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=20000804120810.02409@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=dsl@tepkom.ru \
    /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