sonic VS xxhash

Compare sonic vs xxhash and see what are their differences.


A blazingly fast JSON serializing & deserializing library (by bytedance)


A Go implementation of the 64-bit xxHash algorithm (XXH64) (by cespare)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
sonic xxhash
23 7
6,277 1,677
3.1% -
8.1 2.8
5 days ago 16 days ago
Assembly Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of sonic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.


Posts with mentions or reviews of xxhash. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-09.

What are some alternatives?

When comparing sonic and xxhash you can also consider the following projects:

jsoniter - Using encoding/json to load parts of a large json document

xxh3 - XXH3 algorithm in Go

fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection

haxmap - Fastest and most memory efficient golang concurrent hashmap

encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.

xxHash - Pure Go implementation of xxHash (32 and 64 bits versions)

simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

hashmap - A Golang lock-free thread-safe HashMap optimized for fastest read access.

simdjson-go - Golang port of simdjson: parsing gigabytes of JSON per second

intrinsics - Experiment with Go intrinsics (NOT USABLE)

json-iterator - Low level iterator on the records inside large JSON file.

avo - Generate x86 Assembly with Go