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 (14:46)
From: Daniel Andor <danielandor@g...>
Subject: Re: [Caml-list] Parallelism with threads
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?