Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 
Library).

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e