cpp-serializers
Benchmark comparing various data serialization libraries (thrift, protobuf etc.) for C++ (by thekvs)
cista
Cista is a simple, high-performance, zero-copy C++ serialization & reflection library. (by felixguendling)
Our great sponsors
cpp-serializers | cista | |
---|---|---|
4 | 4 | |
704 | 1,642 | |
- | - | |
0.0 | 7.3 | |
over 4 years ago | 8 days ago | |
C++ | C++ | |
- | 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.
cpp-serializers
Posts with mentions or reviews of cpp-serializers.
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?
-
I'm studying data structures for C++, what I'm confused about are HashTables.
Funnily enough I just had a similar performance question yesterday and found someone else had done exactly this and answered my questions!
-
Beginner SaaS ideas
In 2017, I used this benchmark to test the software against other libraries. My library produced a smaller serialized size than Capnproto or Cereal: Capnproto 17,768 Cereal 17,416 CMW 16,712 The CMW-based approach was also faster than Cereal in this benchmark.
-
easy Serialization library ?
The optimizer can make boost::serialization run at the top speed with binary encoding while sacrificing portability. Here is a benchmark with it being twice as fast as ProtoBuf: https://github.com/thekvs/cpp-serializers. Do you have any benchmarks showing otherwise? I did my own tests about 2-3 years ago.
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 cpp-serializers and cista you can also consider the following projects:
Protobuf - Protocol Buffers - Google's data interchange format
cereal - A C++11 library for serialization
ttauri - Modern accelerated GUI [Moved to: https://github.com/hikogui/hikogui]
serializer - A single header standard C++ serialization framework.
protozero - Minimalist protocol buffer decoder and encoder in C++
json - JSON for Modern C++
Boost.Serialization - Boost.org serialization module
daw_json_link - Fast, convenient JSON serialization and parsing in C++
protobuf-c - Protocol Buffers implementation in C
C++ Middleware Writer - The repo contains library code to support messaging and serialization. There are also two programs in the repo that are needed to use the CMW.
Bitsery - Your binary serialization library
cpp-serializers vs Protobuf
cista vs cereal
cpp-serializers vs ttauri
cista vs Protobuf
cpp-serializers vs serializer
cista vs protozero
cpp-serializers vs json
cista vs Boost.Serialization
cpp-serializers vs daw_json_link
cista vs protobuf-c
cpp-serializers vs C++ Middleware Writer
cista vs Bitsery