On Wed, Jan 09, 2008 at 09:46:39AM -0500, Daniel Andor wrote:
> On Jan 8, 2008 3:00 PM, Brian Hurt <bhurt@janestcapital.com> 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:
http://merjis.com/developers/ancient
Rich.
--
Richard Jones
Red Hat