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
20082026
-
…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 -
…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
comment by chris6f · 2022-12-30 · in Quickly checking that a string belongs to a small set -
Would love to see results from incorporating https://github.com/segmentio/encoding/tree/master/json !
comment by fullung · 2022-03-04 · in Speeding up Go's built-in JSON encoder for large arrays of objects -
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 -
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...
comment by slavik81 · 2019-12-05 · in Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON package -
…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...
comment by loeg · 2019-12-05 · in Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON package -
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).
comment by pelletier · 2019-12-04 · in Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON package -
▲ 83
Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON packagestory by fullung · 2019-12-04 · 17 comments