Snappy-hs: Snappy compression in Haskell

For my Parquet reader, I initially used the original snappy library in Hackage that bindings to c. I couldn’t get the bindings to work on Windows and they also failed on my friend’s MacOs so I figured it would be good to de-risk and implement from scratch since the spec is pretty small. Trade off is that the current implementation is pretty naive and is much slower than native snappy. But that problem is tractable in the long term.

9 Likes

There is snappy-c: Bindings to Google's Snappy: A fast compression library

2 Likes

Missed that package somehow. I’ll try the installation and see if it’s less painful across OSes.

1 Like