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
Re: Ancient, concurrency, etc.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-05-10 (12:24)
From: Berke Durak <berke.durak@g...>
Subject: Re: Ancient, concurrency, etc.

There is no need to get angry.

Ancient is a nice and useful module.  Thank you for writing and sharing

You brought it forward as a solution for inter-process message-passing after
I proposed a faster Marshal designed for shared memory IPC.  Ancient could
fulfill that role, provided someone writes a way to copy a value out of the
ancient heap, otherwise we'll (a) miss the usual polymorphic operators and
(b) risk storing dangling references or inappropriately mutating ancient
values.  That's just a small function and would increase the usefulness of
your module.

PS.Maybe a 64-bit address space would be enough to generate a unique address
for every ancient value so that they could be deleted using munmap.