From: Ville-Pertti Keinonen <will@exomi.com>
To: briand@aracnet.com
Cc: skaller@users.sourceforge.net, caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] exene and ocaml ?
Date: Sun, 11 Apr 2004 16:21:24 +0300 [thread overview]
Message-ID: <2168ACAE-8BBB-11D8-8571-000393863F70@exomi.com> (raw)
In-Reply-To: <16504.59825.814348.947278@soggy.deldotd.com>
In case this was referring to my comment in an earlier message in the
thread...
On Apr 11, 2004, at 9:46 AM, briand@aracnet.com wrote:
> What does worry me is your comment about garbage collection and
> threads. Are ocaml threads not properly GC'ed ?
They aren't automatically collected in that they exist until they're
destroyed or exit...but this is normal for mainstream, heavyweight
threading systems. I count OCaml virtual machine threads as
heavyweight, as well, even though they are lightweight to create, as
they have scalability problems (O(n) scheduling - counting all threads,
regardless of state).
I mentioned garbage collection as an example of a specific issue that
would arise in porting eXene to OCaml.
OCaml/POSIX/Java etc. threads are, in a sense, a different kind of
programming tool compared to Oz/CML threads or Erlang processes (note
that Erlang processes are also not garbage collected when unreachable,
which is even worse in Erlang than other languages, as they are often
the only way of encapsulating state). The former kinds of threads are
suitable for explicit parallelism (e.g. to take advantage of SMP), but
poorly suited for concurrency as a conceptual programming abstraction
(it'll work, but not scale well).
-------------------
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
next prev parent reply other threads:[~2004-04-11 13:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 4:08 briand
2004-04-01 7:25 ` Ville-Pertti Keinonen
2004-04-01 8:19 ` skaller
2004-04-01 9:24 ` Ville-Pertti Keinonen
2004-04-01 14:08 ` skaller
2004-04-11 6:46 ` briand
2004-04-11 8:41 ` skaller
2004-04-11 9:02 ` Richard Jones
2004-04-11 9:26 ` skaller
2004-04-11 13:21 ` Ville-Pertti Keinonen [this message]
2004-04-01 14:34 ` skaller
2004-04-02 5:09 ` briand
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=2168ACAE-8BBB-11D8-8571-000393863F70@exomi.com \
--to=will@exomi.com \
--cc=briand@aracnet.com \
--cc=caml-list@pauillac.inria.fr \
--cc=skaller@users.sourceforge.net \
/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