[Haskell-cafe] binary IO

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Dec 27 03:44:50 EST 2005


On Tue, Dec 27, 2005 at 08:37:27AM +0000, Joel Reymont wrote:
> This is what I spent the past 3 months on. Pickling code that  
> interoperates with a C++ server that sends things to me little- 
> endian. And sends other wierd data like unicode strings that are zero- 
> terminated.
> 
> SerTH does not handle things like that since it cannot divine the  
> wire format for you. I used the pickler combinators approach which  
> worked great in theory since I could specify the wire format and have  
> a single spec for pickling and unpickling. In practice this turned  
> out to be too slow and I still don't know why.

What do you mean by too slow? What is the desired input/output
throughput?

Maybe I'll find some time to improve my BinaryParser/BinaryUnparser
code.

Best regards
Tomasz

-- 
I am searching for a programmer who is good at least in some of
[Haskell, ML, C++, Linux, FreeBSD, math] for work in Warsaw, Poland


More information about the Haskell-Cafe mailing list