JSON vs FlatBuffers vs Protocol Buffers

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • post-flatbuffers

    The codes presented here can be found in this repository. I made the examples using the Go language, but both Protocol Buffers and Flatbuffers support different programming languages, so I would love to see other versions of these comparisons. Additionally, other benchmarks can be used, such as network consumption, CPU, etc. (since we only compare memory here).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • gRPC

    The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)

    Generally used in conjunction with gRPC (but not necessarily), Protobuf is a binary protocol that significantly increases performance compared to the text format of JSON. But it "suffers" from the same problem as JSON: we need to parse it to a data structure of our language. For example, in Go:

  • FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    According to the official website:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Designing a language where all types are memcpy/blittable.

    3 projects | /r/ProgrammingLanguages | 25 Apr 2021
  • FlatBuffers – an efficient cross platform serialization library for many langs

    1 project | news.ycombinator.com | 18 Sep 2023
  • Anyone has experience with reverse engineering flatbuffers?

    1 project | /r/REGames | 25 May 2023
  • flatbuffers - FlatBuffers: Memory Efficient Serialization Library

    1 project | /r/programming_art | 7 Mar 2023
  • How do AAA studios make update-compatible save systems?

    1 project | /r/gamedev | 5 Mar 2023

Did you konow that C++ is
the 6th most popular programming language
based on number of metions?