alpaca
Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code (by p-ranav)
tser
tser - tiny serialization for C++ (by KonanM)
alpaca | tser | |
---|---|---|
5 | 4 | |
418 | 131 | |
- | - | |
5.5 | 0.0 | |
2 months ago | about 3 years ago | |
C++ | C++ | |
MIT License | Boost Software License 1.0 |
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.
alpaca
Posts with mentions or reviews of alpaca.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-08.
- Pack C++ structs into a compact bytearray without any macros or boilerplate code
- alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate
- alpaca: Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code
- Show HN: Pack C++ structs into a compact byte-array without any boilerplate
tser
Posts with mentions or reviews of tser.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-23.
-
Adding reflection to C++ just to make a game work
I wrote a super small serialization library and that was already some good amount of work https://github.com/KonanM/tser .
-
alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate
Your library uses basically uses exactly the same encoding as I do for mine https://github.com/KonanM/tser (I don't care about big/ little endianness). The use cases are of those two libraries are quite different though :-) For logging / pretty printing / json output I needed the names of the members, that's why I had to use a macro.
- C++ Show and Tell - Experiment
-
Traits usages
https://github.com/KonanM/tser/blob/master/include/tser/tser.hpp#L128-L148
What are some alternatives?
When comparing alpaca and tser you can also consider the following projects:
h5cpp - C++17 templates between [stl::vector | armadillo | eigen3 | ublas | blitz++] and HDF5 datasets
libletlib - C++ framework for the impatient.
cpp_serializers_benchmark - C++ serializers benchmark with realistic data
osmanip - A cross-platform library for output stream manipulation using ANSI escape sequences.
cista - Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.
SHA256-Implementation - A program that implements the SHA256 algorithm and generates the binary+hexdigest of a string input.