Re:FlexBuffers
by throw0101a on Saturday June 20, 2020 @10:20PM
(#23589204)
So in this/your view, Protobuf and CBOR would be used in different scenarios?
[ Parent
| on HN ]
Re:FlexBuffers
by ChristianBundy on Saturday June 20, 2020 @10:27PM
(#23589237)
Yeah, protobuf requires that both parties agree on a schema whereas CBOR is self-describing like XML or JSON.
Re:FlexBuffers
by JoshTriplett on Saturday June 20, 2020 @11:36PM
(#23589543)
CBOR also has a schema format, but yes, it's typically used schemaless.
Re:FlexBuffers
by boardwaalk on Sunday June 21, 2020 @02:40AM
(#23590330)
I hadn't heard of this, so I had to look it up: https://tools.ietf.org/html/rfc8610