▲ | dano 7 days ago | ||||||||||||||||
It is a 7 year old article without specifying alternatives to an "already solved problem." So HN, what are the best alternatives available today and why? | |||||||||||||||||
▲ | thinkharderdev 7 days ago | parent | next [-] | ||||||||||||||||
Support across languages etc is much less mature but I find thrift serialization format to be much nicer than protobuf. The codegen somehow manages to produce types that look like types I would actually write compared to the monstrosities that protoc generates. | |||||||||||||||||
▲ | gsliepen 7 days ago | parent | prev | next [-] | ||||||||||||||||
Something like MessagePack or CBOR, and if you want versioning, just have a version field at the start. You don't require a schema to pack/unpack, which I personally think is a good thing. | |||||||||||||||||
| |||||||||||||||||
▲ | mdhb 6 days ago | parent | prev | next [-] | ||||||||||||||||
CBOR is probably the best and most standards compliant thing out there that I’m aware of. It’s the new default in a lot of IOT specs, it’s the backbone for deep space communication networks etc.. Maintains interoperability with JSON. Is very much battle tested in very challenging environments. | |||||||||||||||||
▲ | rapsey 7 days ago | parent | prev | next [-] | ||||||||||||||||
There are none, protobufs are great. | |||||||||||||||||
| |||||||||||||||||
▲ | akavi 7 days ago | parent | prev | next [-] | ||||||||||||||||
Mentioned above: https://github.com/stepchowfun/typical | |||||||||||||||||
| |||||||||||||||||
▲ | 7 days ago | parent | prev [-] | ||||||||||||||||
[deleted] |