planetscale/vtprotobuf
A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2 observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 90
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1937
- days_rel: n/a
- days_push: 62
- n_releases_24m: 0
Adoption not part of the score
1115 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
vtprotobuf is a protoc plugin (protoc-gen-go-vtproto) that generates optimized, reflection-free marshaling and unmarshaling Go code for Protocol Buffers APIv2. It runs alongside the upstream protoc-gen-go generator to produce auxiliary SizeVT, EqualVT, and MarshalVT helpers for faster serialization.
Use cases
- generate faster protobuf marshal code in Go
- speed up gRPC serialization without reflection
- reduce allocations when marshaling protobuf messages
- replace gogo/protobuf with an APIv2-compatible codegen
- generate unrolled Size and Equal helpers for proto messages
- marshal protobuf messages into pooled buffers
When to choose
- you use protobuf APIv2 in Go and serialization is a performance bottleneck
- you want gogo/protobuf-style optimized codegen maintained for APIv2
- you need zero-allocation marshaling or buffer pooling for proto messages
When to avoid
- your protobuf workloads are not performance-sensitive and standard protoc-gen-go suffices
- you are not using Go or protobuf APIv2
- you need a full protobuf runtime rather than a codegen helper
Facets
cli-tool · maturity active
serialization compiler developer-tools apis backend go cli cross-platform protobuf grpc codegen protoc-plugin performance code-generation
1 source
- readme: https://github.com/planetscale/vtprotobuf · fetched 2026-08-28 · e18b98e83507
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| planetscale/vtprotobuf | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="planetscale/vtprotobuf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem