Re: [Haskell-cafe] More binary IO, compression, bytestrings and FFI fun

2007-07-09 Thread Philip Armstrong
On Mon, Jul 09, 2007 at 06:53:15PM +1000, Donald Bruce Stewart wrote: phil: On Mon, Jul 09, 2007 at 02:42:49PM +1000, Donald Bruce Stewart wrote: >Processing larger amounts of data, compression, serialisation and calling >C. Just a thought: is it worth sticking this up on the wiki? http:

Re: [Haskell-cafe] More binary IO, compression, bytestrings and FFI fun

2007-07-09 Thread Donald Bruce Stewart
phil: > On Mon, Jul 09, 2007 at 02:42:49PM +1000, Donald Bruce Stewart wrote: > >Processing larger amounts of data, compression, serialisation and calling > >C. > > Just a thought: is it worth sticking this up on the wiki? http://haskell.org/haskellwiki/Serialisation_and_compression_with_Da

Re: [Haskell-cafe] More binary IO, compression, bytestrings and FFI fun

2007-07-09 Thread Philip Armstrong
On Mon, Jul 09, 2007 at 02:42:49PM +1000, Donald Bruce Stewart wrote: Processing larger amounts of data, compression, serialisation and calling C. Just a thought: is it worth sticking this up on the wiki? Phil -- http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt ___

[Haskell-cafe] More binary IO, compression, bytestrings and FFI fun

2007-07-08 Thread Donald Bruce Stewart
Processing larger amounts of data, compression, serialisation and calling C. An elaboration of the previous example: * Build a largish structure in Haskell * Compress it in memory * Serialise it to disk * Deserialise it * Decompress * Pass it to C * Display the result