snappy-hs: Snappy compression library.

[ codec, library, mit, program ] [ Propose Tags ] [ Report a vulnerability ]

A pure Haskell implementation of the Snappy compression spec.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5
Change log CHANGELOG.md
Dependencies base (>=4.11 && <5), bytestring (>=0.11 && <0.14), snappy-hs [details]
License MIT
Author Michael Chavinda
Maintainer mschavinda@gmail.com
Uploaded by mchav at 2026-02-23T20:33:40Z
Category Codec
Home page https://github.com/mchav/snappy-hs
Bug tracker https://github.com/mchav/snappy-hs/issues
Source repo head: git clone https://github.com/mchav/snappy-hs
Distributions NixOS:0.1.0.4, Stackage:0.1.0.5
Reverse Dependencies 1 direct, 4 indirect [details]
Executables snappy-hs
Downloads 88 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-02-23 [all 1 reports]

Readme for snappy-hs-0.1.0.5

[back to package description]

snappy-hs

A pure Haskell implementation of the Snappy compression format.

This library prioritizes portability and simplicity over raw speed. It works reliably across platforms without requiring a C toolchain or dealing with FFI.

Performance

In informal benchmarks, this implementation is roughly 2–3× slower than native Snappy.

When to use

  • You want cross-platform Snappy encode/decode with a pure Haskell dependency stack
  • You’d rather avoid C FFI and the build/packaging complexity that comes with it

When not to use

  • You need maximum throughput (use the native library or an FFI-based binding instead)