# snappy

> snappy, a magmalake tin: Snappy in pure Mojo — the raw block format and the CRC-32C-checksummed framing format.

[magmalake](https://magmalake.dev/) [snappy](https://magmalake.dev/s/snappy)

Snappy in pure Mojo — the raw block format and the CRC-32C-checksummed framing format. No FFI, no C dependency.

Install

```
pixi shelf add snappy-mojo
```

Version

`0.1.4` on mojoshelf

Source

[GitHub](https://github.com/magmalake/snappy.mojo) [README](https://github.com/magmalake/snappy.mojo#readme) [Benchmark history](https://magmalake.github.io/snappy.mojo/benchmarks/)

## Works today

- Raw block format and sNaPpY framing
- CRC-32C verified per chunk
- Pure Mojo — nothing to build, nothing to link

Checked against Spec edge cases and round trips, and a block python-snappy produced, decoded

- [thrift](https://magmalake.dev/s/thrift) compact + binary protocol
- [zstd](https://magmalake.dev/s/zstd) libzstd
- [lz4](https://magmalake.dev/s/lz4) liblz4
- [brotli](https://magmalake.dev/s/brotli) libbrotli
- [deflate](https://magmalake.dev/s/deflate) DEFLATE · gzip · pure Mojo
- [hashes](https://magmalake.dev/s/hashes) CRC-32 · murmur3 · XXH64
- [memory-region](https://magmalake.dev/s/memory-region) bytes addressed by offset · shared mappings
- [threads](https://magmalake.dev/s/threads) pthreads · atomics · parallel\_for
- [Every tin](https://magmalake.dev/tins)

[A magmalake project](https://magmalake.dev/)

Apache 2.0 · © 2026 Marius Seritan
