Skip to content

Comment on Demystifying the protobuf wire formatparent

Comments

Generally agree. I know of at least two protocols using protobuf payloads over raw UDP and seems pretty good that way (dnstap and some networking asic's in-band telemetry). My biggest gripe was protobuf v3 changing things like not including default values and not being able detect field presence which I found very annoying.

Fortunately, you can continue to use proto2, if you decide it's superior, or use a more recent version of proto3 that supports field presence.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.