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. ▲ 1
    Sonic: A blazingly fast Golang JSON serializing and deserializing
    story by karel-3d · 2025-03-11 · 0 comments
  4. …// 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
  5. 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…
  6. …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
  7. https://github.com/bytedance/sonic
    comment by rockinghigh · 2023-11-05 · in Building a high performance JSON parser
  8. 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
  9. ▲ 3
    Sonic: A fast JSON serializing and deserializing library in Go
    story by nateb2022 · 2023-07-05 · 0 comments
  10. ▲ 3
    Toward the Fastest, Compatible JSON Decoder – Sonnet
    story by sugawarayuuta · 2023-02-11 · 0 comments
  11. 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…
  12. ▲ 98
    Sonic: A fast JSON serializing and deserializing library
    story by ngaut · 2021-11-21 · 43 comments