On 03/06/2021 19:17, Christophe Raffalli wrote:
Hello dear camlers,

I just noticed that in 4.12+effect, in the road to multicore, we have now the
nice exception:

  Failure("Serializing closures is broken in multicore")

This is a bit a pity: if you want to use both multicore and multi-machine
parallelism, then, marshalling closures was useful for communication between
machines in some cases. Is it a final decision or serialization of closures will
be lost forever in OCaml ?


My guess is that serialization of closures might work in bytecode, and is broken in native, in relation to ASLR.

Of course, I could be very wrong.


Cheers

-- 
Basile Starynkevitch                  <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/