Binary serializationCommon needs
See https://github.com/haskell-perf/serialization for benchmarks.
Abstraction over binary and cereal that allows to write library independent binary (de)seriliazation code. It is also possible to add compatibility with any serialization library.
This package provides Haskell data serialisation independent of evaluation, by accessing the Haskell heap using foreign primitive operations. Any Haskell data structure apart from mutable data structures (MVars and TVars) can be serialised and later deserialised during the same run, or loaded into a new run, of the same program (the same executable file).