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
OC4MC : OCaml for Multicore architectures
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-09-24 (11:41)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] OC4MC : OCaml for Multicore architectures
On Thursday 24 September 2009 11:00:57 kcheung@math.carleton.ca wrote:
> > On Thursday 24 September 2009 01:01:58 you wrote:
> >
> > No problem. I'll be happy to get anything working!
> >
> > Following your advice, it seems to work perfectly now:
> I'm not too familiar with concurrency in ocaml.
> How does OC4MC compare with JoCaml?

JoCaml is all about concurrency: minimizing latency. Oc4mc is all about 
parallelism: maximizing throughput.

Until now, OCaml sucked at parallelism. You can sometimes obtain some 
parallelism by forking threads but it is asymptotically slower than using 
shared memory. Consequently, oc4mc is a hugely-important development in the 
OCaml world because it means that OCaml programmers can write OCaml programs 
that use multicore machines efficiently for the first time.

The next steps are to get oc4mc into the apt repositories and build some 
libraries that make parallelism easier (like Microsoft's Task Parallel 

Dr Jon Harrop, Flying Frog Consultancy Ltd.