[Haskell-beginners] "reusable" data in Haskell

Stephen Tetley stephen.tetley at gmail.com
Fri Dec 4 03:42:11 EST 2009


Hello John

Data-Binary is the commonly used serialization library, it could well
be adequate for your purposes:

http://hackage.haskell.org/package/binary

>From the blurb:
  "Serialisation speeds of over 1 G/sec have been observed, so this
library should be suitable for high performance scenarios."

It really depends how you choose to represent the database, if you
have cycles serialization could be tricky, but if you just have atoms
of strings for the predicates and facts it should be fine(*).



Best wishes

Stephen

(*) Converting to and from Strings and ByteStrings will take _some_
time in the serialization layer, but it would take some time from a
real database or other format.


More information about the Beginners mailing list