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
The state of ML: multi-threaded, saved state and support platforms
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-06-11 (15:49)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] The state of ML: multi-threaded, saved state and support platforms
On Thu, Jun 11, 2009 at 03:04:21PM +0100, Lucas Dixon wrote:
> 1. Which implementations have native system threads with shared memory?
> PolyML is the only one I know of, are there others? (OCaml does not have
> this as I understand it... do correct me if I'm wrong)

OCaml has native threads with shared memory, _but_ OCaml threads
nevertheless cannot run simultaneously because there's a lock
protecting the garbage collector.  The standard solution is to use
fork-based parallelism or MPI (which will work better on new multicore
machines which are all NUMA nowadays, and in any case is simpler to
program).  See extensive discussions on this list about garbage
collectors with threads.

> 3. Lastly, can you help me get a good picture of the state of support
> for ML systems:
> OCaml: is this still supported by INRIA? what is the level of support?

What level of support are you looking for?  OCaml users will give you
support through the ocaml-beginners mailing list which is active and
most questions are answered within a few hours.  If you want "call
someone on the phone and drop everything" support then you'll have to
pay (a lot).

> F#: Miscrosoft

Are you sure about this one?

> 4. I'm also interested in interoperability: what systems can OCaml
> easily interoperate with? What about the other systems?

This question is very unclear.  OCaml offers lots of opportunities for
interoperating, eg. RPC mechanisms, web services, direct linking,
passing structures through data files (XML, sexprs etc), pipes,
databases.  What are you looking for?  What other systems?


Richard Jones
Red Hat