3 ms·
Also , Haskell Control.Distributed.Fork > This module provides a common interface for offloading an IO action to remote executors. > It uses StaticPointers l
by gowld 4y ago
Also , Haskell Control.Distributed.Fork
> This module provides a common interface for offloading an IO action to remote executors.
> It uses StaticPointers language extension and distributed-closure library for serializing closures to run remotely. This blog post[1] is a good introduction for those.
> In short, if you you need a Closure a:
> One important constraint when using this library is that it assumes the remote environment is capable of executing the exact same binary. On most cases, this requires your host environment to be Linux.
https://hackage.haskell.org/package/distributed-fork-0.0.1.3/docs/Control-Distributed-Fork.html https://hackage.haskell.org/package/distributed-fork-0.0.1.3...
[1] https://blog.ocharles.org.uk/blog/guest-posts/2014-12-23-static-pointers.html https://blog.ocharles.org.uk/blog/guest-posts/2014-12-23-sta...
- CMCDragonkai 4y agoUnless your closure closed over the entire operating system.
- nine_k 4y agoWith a pure language like Haskell, and the now-standard "functional core, imperative shell" approach, it's rather easy to limit the extent of external dependencies of a meaningful computation.