# xxhash

9 Hacker News commenters recommended xxhash and 0 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months.

**Verdict:** Fast, non-cryptographic hash function that people recommend as a faster, higher-quality replacement for CRC32 in hash tables and keys.

## Why people recommend it

- Better than CRC32 for hashing (4 comments): "xxhash is better than crc32 for hashing keys in a hash table, but both of them are inappropriate for file checksums" ([source](https://news.ycombinator.com/item?id=46705978)) "From SMHasher test results quality of xxhash seems higher. It has less bias / higher uniformity that CRC." ([source](https://news.ycombinator.com/item?id=46705845)) "I'm pretty sure xxhash is a straight upgrade compared to CRC32." ([source](https://news.ycombinator.com/item?id=46702934))
- Much faster than alternatives (4 comments): "40x faster than the fastest JavaScript version I can find. Drop in replacement." ([source](https://news.ycombinator.com/item?id=46690646)) "I was getting 2x perf when using xxhash3 instead of wyhash" ([source](https://news.ycombinator.com/item?id=47108847)) "Why not use a faster hashing algorithm like xxhash?" ([source](https://news.ycombinator.com/item?id=45949244))
- Widely recommended modern hash choice (2 comments): "xxHash, rapidHash or anything that’s fast will do the job." ([source](https://news.ycombinator.com/item?id=49060765)) "xxhash is the best modern option." ([source](https://news.ycombinator.com/item?id=49717577))

## Alternatives hackers recommend

- [BLAKE3](https://hackerapproved.com/p/blake3.md): 16 recommend
- [libsodium](https://hackerapproved.com/p/libsodium.md): 10 recommend
- [AWS-LC](https://hackerapproved.com/p/aws-lc.md): 10 recommend
- [pyca/cryptography](https://hackerapproved.com/p/pyca-cryptography.md): 8 recommend
- [BoringSSL](https://hackerapproved.com/p/boringssl.md): 7 recommend

## Cite as

Hacker Approved, "xxhash", https://hackerapproved.com/p/xxhash/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
