nowfound

Life & fun · May 1, 2023

Sonnet – The fastest JSON parser I can think of in Go

- What's different? It's fast. On my machine, the stream decoder is faster than bytedance/sonic which claim to be the fastest even though mine is written in pure Go and Sonic is written in Go + C + Assembly. It also is a drop-in replacement of the standard library. - Why is it fast? technologies used are in my articles (available in English and Japanese) EN: https://sugawarayuuta.medium.com/still-i-wanted-to-build-the... JA: https://zenn.dev/sugawarayuuta/articles/2a5a3cb3f9a504

Sonnet – The fastest JSON parser I can think of in Go launched on May 1, 2023 with 7 votes, #1,883 of 4,910 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 3 years on.

What it does

High performance JSON decoder in Go. Contribute to sugawarayuuta/sonnet development by creating an account on GitHub.

Does a similar job

all alternatives →
  • A fast JSON library for Go2021 · github.com · ▲119

    Fast JSON encoder/decoder compatible with encoding/json for Go - goccy/go-json

  • Gojay – Performant JSON encoder/decoder for Golang2018 · github.com · ▲153

    high performance JSON encoder/decoder with stream API for Golang - GitHub - francoispqt/gojay: high performance JSON encoder/decoder with stream API for Golang

  • The fastest JSON parser for GoJul 2026 · github.com · ▲7

    THE fastest alternative JSON parser for Go that does not require schema - buger/jsonparser

  • fastjson - Fast JSON Parsing for Go2018 · github.com · ▲20

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

  • ffjson: faster json serialization in Go2014 · journal.paul.querna.org · ▲83
  • AF
    Apache Fory Rust – 10-20x faster serialization than JSON/ProtobufOct 2025 · fory.apache.org · ▲67

    Serialization framework with some interesting numbers: 10-20x faster on nested objects than json/protobuf. Technical approach: compile-time codegen (no reflection), compact binary protocol with meta-packing, little-endian layout optimized for modern CPUs. Unique features that other fast serializers don't have: - Cross-language without IDL files (Rust ↔ Python/Java/Go) - Trait object serialization (Box) - Automatic circular reference handling - Schema evolution without coordination Happy to discuss design trade-offs. Benchmarks:…

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, May 2023

the whole month →
  • Sidekick▲1,341

    An AI-powered accessibility assistant in Stark

    AI · 2023 · getstark.co

  • In today's world, catchy headlines and articles often distract readers from the facts and relevant information. By utilizing OpenAI's language models, Boring Report processes sensationalist news articles, transforms them into the content you see, and helps readers focus on the essential details. We recently updated our iOS app experience, so any and all feedback would be appreciated. App Link: https://apps.apple.com/us/app/boring-report-news-by-ai/id644...

    AI · 2023 · boringreport.org

  • Generating powerful websites, one prompt at a time

    AI · 2023

  • AudioPen▲888

    The easiest way to convert messy thoughts into clear text

    AI · 2023 · audiopen.ai

  • Launch your website in seconds, get users in minutes

    Dev tools · 2023 · page.mmntm.build

  • Moda▲791

    An e-commerce growth marketing platform

    Growth · 2023