protozero
Minimalist protocol buffer decoder and encoder in C++ (by mapbox)
cista
Cista is a simple, high-performance, zero-copy C++ serialization & reflection library. (by felixguendling)
Our great sponsors
protozero | cista | |
---|---|---|
1 | 4 | |
276 | 1,642 | |
4.7% | - | |
0.0 | 7.3 | |
almost 2 years ago | 9 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
protozero
Posts with mentions or reviews of protozero.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-30.
-
Don't Use Protobuf for Telemetry
Its a shame you can't share the code, we could really do with a modern C++ implementation. Having said that, protozero looks very interesting [1], need to find some time to look into it.
[1] https://github.com/mapbox/protozero
cista
Posts with mentions or reviews of cista.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-13.
-
what is the best API for serialization?
C++ has some reflection. You can checkout cista: https://github.com/felixguendling/cista
-
Ask HN: What happened to flatbuffers? Are they being used?
If you're looking for something faster but C++ specific, more compact in serialized size, more efficient in serialization you can try cista: https://github.com/felixguendling/cista
-
Adding reflection to C++ just to make a game work
If you want to see, what's possible with plain C++ (no language changes needed), checkout https://github.com/felixguendling/cista
-
alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate
Can you give us some hint on what would be different in your project from the libraries that do roughly the same? The tser author has made a comment here, but I know that cista and zpp_bits probably have some overlap with alpaca. I just don't have a specific use case now, so I don't have an urge to dive deep into the topic, but in the past I've needed a library like yours, and right now I would have to evaluate half a dozen libraries to know would be "best" or more appropriate.
What are some alternatives?
When comparing protozero and cista you can also consider the following projects:
Protobuf - Protocol Buffers - Google's data interchange format
cereal - A C++11 library for serialization
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
protobuf-c - Protocol Buffers implementation in C
Boost.Serialization - Boost.org serialization module
MessagePack - MessagePack implementation for C and C++ / msgpack.org[C/C++]
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
Bitsery - Your binary serialization library
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum