distributed-closure alternatives and similar packages
Based on the "distributed" category.
Alternatively, view distributed-closure alternatives based on common mentions on social networks and blogs.
DEPRECATED (Cloud Haskell Platform) in favor of distributed-process-extras, distributed-process-async, distributed-process-client-server, distributed-process-registry, distributed-process-supervisor, distributed-process-task and distributed-process-execution
Cloud Haskell - Asynchronous Execution
Cloud Haskell - gen_server implementation
Simple cloud haskell backend for local networks
Core utilities for distributed-process-platform
Cloud Haskell Supervision Trees
Extended Process Registry
Cloud Haskell Process Execution Framework
Cloud Haskell implementation of Erlang's gen_statem (ish)
AWS Lambda backend for distributed-fork.
Do you think we are missing an alternative of distributed-closure or a related project?
from GHC 7.10 onwards for distributed programming using lightweight
serializable closures. This package implements a serializable
closure abstraction on top of static pointers. Serializable closures
can be shipped around a computer cluster. This is useful for
implementing intuitive and modular distributed applications. See
this blog post for a hands on introduction
and this paper for the original motivation.
In GHC 8 and above, remoting a computation on another node using this library goes along the lines of
data NodeId -- Assume we're given a spaw primitive. spawn :: NodeId -> Closure (IO ()) -> IO () -- A computation to remote on another node. hello :: String -> IO () hello name = putStrLn ("Hello, " ++ name) main = do name <- getLine spawn "someAddress" (static hello `cap` name)
An example of sending static pointers and closures through a communication channel is provided under [examples/ClientServer.hs](examples/ClientServer.hs) in the source repository.
distributed-closure does not implement sending/receiving/spawning
closures - that's left for higher-level frameworks. Only closure
creation, composition and (de)serialization.