cpp_serializers_benchmark
cista
cpp_serializers_benchmark | cista | |
---|---|---|
2 | 4 | |
114 | 1,663 | |
- | - | |
10.0 | 7.3 | |
over 1 year ago | 3 days ago | |
C++ | C++ | |
MIT License | MIT License |
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.
cpp_serializers_benchmark
- what is the best API for serialization?
-
alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate
Can you consider updating the benchmark with comparisons? For example, you could fork https://github.com/fraillt/cpp_serializers_benchmark/ so that we have a point of reference.
cista
-
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?
alpaca - Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code
cereal - A C++11 library for serialization
zpp_bits - A lightweight C++20 serialization and RPC library
Protobuf - Protocol Buffers - Google's data interchange format
protozero - Minimalist protocol buffer decoder and encoder in C++
Boost.Serialization - Boost.org serialization module
protobuf-c - Protocol Buffers implementation in C
Bitsery - Your binary serialization library
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
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
MessagePack - MessagePack implementation for C and C++ / msgpack.org[C/C++]
SBE - Simple Binary Encoding (SBE) - High Performance Message Codec