Hacker GitHub

← All repos

segmentio/encoding

View on GitHub ↗ ★ 1,055 Go

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

8 mentions on Hacker News by 7 people: 1 story, 7 comments · first 2019-12-04 · latest 2023-08-13

Mentions per year 8 mentions · busiest year 2019 (4)
20082026
  1. …but that's hard to justify for most things, and hard to maintain even once done. The legendary https://github.com/segmentio/encoding seems to be abandoned now and progress on Go JSON in general seems to have died with…
    comment by fl0ki · 2023-08-13 · in Rust vs. Go in 2023
  2. …and https://github.com/segmentio/asm/pull/65 (ARM64). Here's how it's used in the JSON decoder: https://github.com/segmentio/encoding/pull/101
  3. Would love to see results from incorporating https://github.com/segmentio/encoding/tree/master/json !
  4. There is also https://github.com/segmentio/encoding , which aims to have a zero allocation fastpath while preserving compatibility with encoding/json.
    comment by vlowther · 2020-06-28 · in Building a high performance JSON parser
  5. That's just a file list on mobile. It's better to link to the README itself: https://github.com/segmentio/encoding/blob/master/json/READM...
  6. …also don't believe that this code should be ported upsteam to the standard encoding/json package. https://github.com/segmentio/encoding/tree/master/json#trade...
  7. Tradeoffs are at https://github.com/segmentio/encoding/tree/master/json#trade... . Maybe we should move that upfront (or at least link to it for discovery).
  8. ▲ 83
    Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON package
    story by fullung · 2019-12-04 · 17 comments