Top all-time · #23237
Ugorji Nwoke
Personal blog · ugorji.net/blogprogrammingsystems
Ugorji Nwoke's personal blog at ugorji.net covers programming and systems. Since 2015, 3 different Hacker News readers have linked it 6 times, most often “Go-codec: go: code generation to encode/decode json msgpack cbor; 2X-20X perf”. It is still writing: the last post was on 2025-06-15, and you can follow it by feed.
Too few sampled comments (4) to say how often HN recommends it.?
Why HN links it
Linked for a post on go-codec's code generation for Go encoders and decoders, which the comments describe as 2X-20X faster than reflection. Commenters cite it when comparing Go JSON libraries.
Summarised by Claude from a sample of 4 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Go-codec: go: code generation to encode/decode json msgpack cbor; 2X-20X perf2 people · 3 mentions · first linked 2015-01-08
What Hacker News says?
Is it? Kubernete switched from the native go Json parser to codec for performance increase. http://ugorji.net/blog/go-codecgen
Comment linking /blog/go-codecgen
on “Show HN: Gojay – Performant JSON encoder/decoder for Golang”Submitted Go-codec: fast encode/decode JSON, MessagePack, CBOR, BINC; withcode generation as a story · 5 points
HN discussionHow does this compare to http://ugorji.net/blog/go-codecgen ?
Comment linking /blog/go-codecgen
on “Show HN: Gojay – Performant JSON encoder/decoder for Golang”Submitted Go-codec: go: code generation to encode/decode json msgpack cbor; 2X-20X perf as a story · 3 points
HN discussionBecause accessing fields in a binary format is a seek() while in a text format it is much more complicated. Try to build a mental model what is required to parse text based formats. You can have a look to results of performance testing involving these binary message formats vs json. http://zderadicka.eu/comparison-of-json-like-serializations-... https://github.com/ludocode/schemaless-benchmarks#speed---de... https:/…
Comment linking /blog/benchmarking-serialization-in-go
on “CBOR – Concise Binary Object Representation”Summary: go-codec supports compile-time generation of encoders and decoders for named types, which does not incur the overhead of reflection in the typical case, giving 2X-20X performance improvement over the idiomatic runtime introspection mode. Idiomatic encoding and decoding types within go typically relies on the reflection capabilities of the go runtime. This affords flexible performance without the need for a…
Comment linking /blog/go-codec-primer
on “Go-codec: go: code generation to encode/decode json msgpack cbor; 2X-20X perf”