On Thu 15 Aug 2013 15:47, Chaos Eternal writes:
> Hence, it is reasonable to expect a way to serialize the closures to
> disks and/or remote machines over network.
Agreed. Guile 2.2's compiler might be able to do this, with some
modification -- take a closure and tree-shake out its dependencies
Chaos Eternal skribis:
> existing implementations:
> Gambit-C: the termite module of gambit-c heavily depends on
> serializable closures to have functions like remote process call,
> process migration and remote spawn.
> chicken: chicken has termite port and also has these function implemented.
In Scheme, procedures are closures, that means it has the code of the
procedure itself as well as the required environment for running that
procedure. And, mostly, continuations are considered closure.
Hence, it is reasonable to expect a way to serialize the closures to
disks and/or remote machine