serialization - Can Haskell functions be serialized? -
the best way representation of function (if can recovered somehow). binary serialization preferred efficiency reasons.
i think there way in clean, because impossible implement itask, relies on tasks (and functions) can saved , continued when server running again.
this must important distributed haskell computations.
i'm not looking parsing haskell code @ runtime described here: serialization of functions in haskell. need serialize not deserialize.
unfortunately, it's not possible current ghc runtime system. serialization of functions, , other arbitrary data, requires low level runtime support ghc implementors have been reluctant add.
serializing functions requires can serialize anything, since arbitrary data (evaluated , unevaluated) can part of function (e.g., partial application).
Comments
Post a Comment