[Haskell-cafe] ANNOUNCE: binary: high performance, pure binary serialisation

Neil Mitchell ndmitchell at gmail.com
Mon Jan 29 19:35:27 EST 2007

Hi Conrad,

> If the data header stores the alignment/size/endianness, then there's
> no reason for the data to be unportable. The normal get* instances
> (not get*host) could suffice for reading.

That requires the stream to have a header. Which means that any
arbitrary slice within the ByteString is not equal - the first one
contains essential information which isn't available anywhere else. It
seems like a lot of complexity, defining multiple parameterised file
types, when the simple case is probably neater and cheaper in terms of
both runtime and developer time.



More information about the Haskell-Cafe mailing list