Hacker GitHub

← All repos

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

Mentions per year 12 mentions · busiest year 2023 (6)
20082026
  1. 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
  2. …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
  3. …// 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
  4. 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…
  5. …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
  6. https://github.com/bytedance/sonic
    comment by rockinghigh · 2023-11-05 · in Building a high performance JSON parser
  7. 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
  8. 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…