Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Parallelism with threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-01-09 (16:04)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Parallelism with threads
On Wed, Jan 09, 2008 at 09:46:39AM -0500, Daniel Andor wrote:
> On Jan 8, 2008 3:00 PM, Brian Hurt <> wrote:
> >  The heaps wouldn't be able to see each other, but they'd be able to
> > communicate via light weight (and strongly typed) message passing, and you
> > wouldn't have to dink around with sockets, pipes, MPI, or simiar "heavy
> > weight" solutions, so it'd be simpler, and possibly faster.  This is not
> > unlike the Erlang model, in fact.
> Are there any solutions that do not involve message passing?  I have
> heaps of data that barely fits into memory, and sharing that memory is
> the most straightforward way to process it.
> If sharing process space is out, are there other ways to share memory?
>  How about sys V SHM or MMAP, or variations -- how would that work
> under OCaml?

Yup, see:


Richard Jones
Red Hat