Hello,
I plan to implement a first draft of a distributed concurrent ruby. I know that the major difficulty comes from the fact that concurrent ruby uses blocks for most API.
From my understanding of a good use of future, it seems that using closures is not fully satisfying since it allows futures to access external variables. I think that futures should rather be based on pure functions (without side effect). With this limitation, it becomes possible to serialize the function calls and thus permits a remote execution using drb for instance.
What do you think ? Do you foresee difficulties that will make this exploration pointless ?
Regards,
Lionel