Is anyone using CBOR at all?
Bebop: An Efficient, Schema-Based Binary Serialization Format
31–40 of 60 posts
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#32There's gotta now be way too many serialisation formats. Each one claiming similar things to others. What would be helpful is a concrete example showing what was tried with an existing approach that fell short. I mean code, benchmarks, theory.
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#33Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#34The article doesn't mention at all how those speedups have been achieved, what tradeoff the format makes and what it is optimized for - which would be the actually interesting part. A link to the benchmark code and description of the data would be nice. It also doesn't show data for FlatBuffer, which is often a lot faster and leaner than ProtoBuf, or for Capt'n Proto. ProtoBuf is not exactly known for amazing perform…
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#35I only opened this article to see a comparison with FlatBuffers and got disappointed. :( To be fair though, I am open to the idea of having a separate schema definition language, at least. (And please don't say DDL, it doesn't even come close.)
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#36I only opened this article to see a comparison with FlatBuffers and got disappointed. :( To be fair though, I am open to the idea of having a separate schema definition language, at least. (And please don't say DDL, it doesn't even come close.)
This thing it looks like uses normal C++ structures under the hood, and if so that's a huge plus.
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#37Looks great, I would use it over gRPC just for being able to use objects instead of the java-like setX nonsense.
Though it would need writing all the network code!
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#38The article doesn't mention at all how those speedups have been achieved, what tradeoff the format makes and what it is optimized for - which would be the actually interesting part. A link to the benchmark code and description of the data would be nice. It also doesn't show data for FlatBuffer, which is often a lot faster and leaner than ProtoBuf, or for Capt'n Proto. ProtoBuf is not exactly known for amazing perform…
I would guess the high speed is the triad of
length encoding with a header vs searching for delimiters
using what they call structs for benchmarks (no repeatedly sending the field name)
how much you trade off safety/sanity checks for performance
Oh, and keeping ints little endian.Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#39Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#40Earlier quoted context omitted.
Originally created by Wouter van Oortmerssen http://strlen.com/
Wow, that CV is ... impressive.