• lysdexic@programming.devOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 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:

      • fleece is implemented as an appendable data structure, which might open the door to some usages,
      • protobuf supports more data types than the ones supported by JSON, which may be a good or bad thing depending on the perspective.

      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
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        “Appendable” seems like a positive spin on the “truncated YAML-file is frighteningly often valid” problem…