Earlier quoted context omitted.
FlatBuffers creates its own demented and completely incompatible data structures when deserializing into C++. Which means you then need to copy the FlatBuffers structures into normal ones, defeating the entire point of "zero-copy" in the first place. This thing it looks like uses normal C++ structures under the hood, and if so that's a huge plus.
I don't see why C++ considerations get priority over everything else, or are you making another point?
Bebop: An Efficient, Schema-Based Binary Serialization Format
51–60 of 60 posts
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#52Earlier quoted context omitted.
I don't see why C++ considerations get priority over everything else, or are you making another point?
They do get priority when you're primarily coding in C++, obviously. Not everything is Javascript-first. Different requirements for different folks.
So okay, FlatBuffers doesn't map its zero-copy philosophy perfectly everywhere -- fact of life. What would you offer then? Which other format and/or library?
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#53Earlier quoted context omitted.
They do get priority when you're primarily coding in C++, obviously. Not everything is Javascript-first. Different requirements for different folks.
I am not a JS dev, don't project your frustration on me. ;) So okay, FlatBuffers doesn't map its zero-copy philosophy perfectly everywhere -- fact of life. What would you offer then? Which other format and/or library?
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#54Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#55The 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…
One of the authors of Bebop here: - The benchmark code is present in the laboratory directory of the repository. - We don’t compare to Capt’n Proto because it does not have a stable web-based implementation, at least not one that has the features that make it so fast natively, so there is nothing to compare. - Flatbuffers are fast but have a notoriously awful API to work with while also creating their own non-standar…
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#56Noob question: How does performance of state of the art Binary formats compare versus state of the art Json serializers such as SIMDjson? (both in throughput and file size)
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#57Earlier quoted context omitted.
Speaking of which, I’ve never seen a marshaling protocol with as sophisticated a message versioning scheme as ASN.1. The amount of thought that went into specifying how to allow “implementations from the future” to interoperate with those of the past is impressive.
And yet outclassed on any meaningful metric by generic serialization languages? ASN.1 is a programming language in addition to a data transport format opening up many opportunities for security vulnerabilities. Performance is shit because it’s using text to encode everything so that it’s human readable. Similarly parsing is extra complicated and slow for that reason. Serialization/deserialization requires a dedicated…
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#58Earlier quoted context omitted.
One of the authors of Bebop here: - The benchmark code is present in the laboratory directory of the repository. - We don’t compare to Capt’n Proto because it does not have a stable web-based implementation, at least not one that has the features that make it so fast natively, so there is nothing to compare. - Flatbuffers are fast but have a notoriously awful API to work with while also creating their own non-standar…
Even with that I think flatbuffer, is still the main competition for something like this, not including it might make this look more impressive, but including it and mentioning that bebop has some advantages over flatbuffers (although with less language support) would be more fair.
Re: Bebop: An Efficient, Schema-Based Binary Serialization Format
#59Earlier quoted context omitted.
Wow, that CV is ... impressive.
I guess he's a bit like the programmer equivalent of the underground musician that's not that well known by the mainstream but who inspired a lot of other musicians. For example, he wrote the language that inspired Brainfuck[0]. [0] http://strlen.com/false-language/