msgp
tinygo
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
msgp
-
What is the fastest way to encode the arbitrary struct into bytes?
For a similar case at MinIO we use messagepack - with tinylib/msgp.
- TinyGo Reflection?
- 80x improvements in caching by moving from JSON to gob
-
Are We Wasm Yet - Part 1
You might enjoy https://github.com/tinylib/msgp -- it's all code generation, tiny, and fast.
-
Best examples of a Go client
Feel free to compare the Go protobuf lib performance to https://github.com/tinylib/msgp -- the formats are similar enough, especially if you consider that protobuf is essentially a map[uint64]something container.
tinygo
What are some alternatives?
hackpad - The in-browser IDE for Go
easyjson - Fast JSON serializer for golang.
decimal - Arbitrary-precision fixed-point decimal numbers in Go
gomuks - A terminal based Matrix client written in Go.
kubectl - Issue tracker and mirror of kubectl code
encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.
bifrost - Cross-platform p2p daemon and library with pluggable transports and WebAssembly support.
go_serialization_benchmarks - Benchmarks of Go serialization methods
go-formatter - A curated list of awesome Go frameworks, libraries and software
cli - The Docker CLI
fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
cbor - CBOR codec (RFC 8949) with CBOR tags, Go struct tags (toarray, keyasint, omitempty), float64/32/16, big.Int, and fuzz tested billions of execs.