Hacker News new | ask | show | jobs
by paulddraper 1024 days ago
Protobufs are pretty good.

Sure, there's things that can be improved, but years later they are still the most ubiquitous binary message format.

1 comments

The only other binary message format I saw were flat files with fixed bytes length fields, dtp/sftp in legacy banking systems. And many moved to first csv, then json/xml wherever they could.

I feel there's no one trying to take that crown really.

BSON, Thrift, Avro, MessagePack, FlatBuffers, Capn Proto
ASN.1 wants to have a word with you!
Glad that someone else noticed that protobufs are very close to a carbon copy of ASN.1. If you don't have the .proto file you even see the .1.3.6.1.2.1 paths in protobuf files, just like you do without .mib files.

Even the integer encoding and tooling is very similar, just not quite identical.

Thanks, this was a nice rabbit hole to fall into.