cppcodec
Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus Crockford's base32. MIT licensed with consistent, flexible API. (by tplgy)
cista
Cista is a simple, high-performance, zero-copy C++ serialization & reflection library. (by felixguendling)
cppcodec | cista | |
---|---|---|
- | 4 | |
578 | 1,648 | |
0.0% | - | |
0.0 | 7.3 | |
over 1 year ago | 5 days ago | |
C++ | C++ | |
MIT License | 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.
cppcodec
Posts with mentions or reviews of cppcodec.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning cppcodec yet.
Tracking mentions began in Dec 2020.
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 cppcodec and cista you can also consider the following projects:
cppbor - An implementation of cbor using C++ 17 variants
cereal - A C++11 library for serialization
Boost.Serialization - Boost.org serialization module
Protobuf - Protocol Buffers - Google's data interchange format
protozero - Minimalist protocol buffer decoder and encoder in C++
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
LeapSerial - The Leap Motion cross-format, cross-platform declarative serialization library
protobuf-c - Protocol Buffers implementation in C
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
Bitsery - Your binary serialization library