bytedance/sonic
View on GitHub ↗ ★ 9,648 Go
A blazingly fast JSON serializing & deserializing library
12 mentions on Hacker News by 11 people: 4 stories, 8 comments · first 2021-11-21 · latest 2025-12-11
20082026
-
There's various alternatives. For example: - https://github.com/goccy/go-json - https://github.com/bytedance/sonic
comment by PhilippGille · 2025-12-11 · in Golang optimizations for high‑volume services -
…use cases. It shows that JIT, simd, low level code comes at cost of maintenance for all platform. https://github.com/bytedance/sonic/issues/785
comment by Thaxll · 2025-09-09 · in A new experimental Go API for JSON -
…// but widely used packages access it using linkname. // Notable members of the hall of shame include: // - github.com/bytedance/sonic
comment by mox111 · 2024-11-21 · in Hyrum’s Law in Golang -
SIMD is possible in Go, see: https://github.com/bytedance/sonic Between Go and Rust for infra, let's say that Go is the #1, Rust if far far behind. Most recent infra tools are built in Go, Kubernetes, Docker, Prometheus, Grafana, Terraform…
comment by Thaxll · 2023-11-06 · in Building a Streaming Platform in Go for Postgres -
…the Go port of it is explicitly mentioned in the motivation[1] (not the real thing, though). [1] https://github.com/bytedance/sonic/blob/main/docs/INTRODUCTI...
comment by mananaysiempre · 2023-11-05 · in Building a high performance JSON parser -
https://github.com/bytedance/sonic
comment by rockinghigh · 2023-11-05 · in Building a high performance JSON parser -
Great to see a shout out to Phil Pearl! Also worth looking at https://github.com/bytedance/sonic
comment by rexfuzzle · 2023-11-05 · in Building a high performance JSON parser -
It is mentioned here: https://github.com/bytedance/sonic/blob/a577eafc253adb943924... , but it isn't included in the benchmarks graphs. Seems this repo is specifically focused on Golang and isn't necessarily motivated by being the fastest…
comment by memco · 2021-11-23 · in Sonic: A fast JSON serializing and deserializing library