Of lambdabuffers for that matter.
Comment on GitHub - couchbase/fleece: A super-fast, compact, JSON-equivalent binary data format
Maoo@hexbear.net 11 months ago
The main question I would have is why use it instead of protobuf? Having native support for binary values aside.
demesisx@infosec.pub 11 months ago
ck_@discuss.tchncs.de 11 months ago
You probably wouldn’t. The main difference is that protobuf is structured while fleece is unstructured, so you would use it in places where you don’t want to (or can’t) tie yourself to a schema outright.
lemmyvore@feddit.nl 11 months ago
It’s not serialized from what I understand so it doesn’t need parsing. It’s sort of a structure+pointer dump. We’ll see how well that translates to other languages than C though.
lysdexic@programming.dev 11 months ago
I’d love to see benchmarks testing the two, and out of curiosity also including compressed JSON docs to take into account the impact of payload volume.
Nevertheless, I think there are two major features that differentiate protobuff and fleece, which are:
In the end, if the world survived with XML for so long, I’d guess we can live with minor gains just as easily.
aes@programming.dev 11 months ago
“Appendable” seems like a positive spin on the “truncated YAML-file is frighteningly often valid” problem…
lysdexic@programming.dev 11 months ago
I don’t think your take makes sense. It’s a write-only data structure which supports incremental changes. By design it tracks state and versioning. You can squash it if you’d like but others might see value in it.