zpp_bits
tser
zpp_bits | tser | |
---|---|---|
9 | 4 | |
658 | 130 | |
- | - | |
4.9 | 0.0 | |
about 1 month ago | almost 3 years ago | |
C++ | C++ | |
MIT License | Boost Software License 1.0 |
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.
zpp_bits
-
How to arrange a bunch of variables into one array of bytes in memory?
I would either look at https://github.com/eyalz800/zpp_bits or https://github.com/stephenberry/glaze. FYI, glaze both supports json and binary.
-
Delimiting a Binary File/ Parsing a Binary File
For something bigger or more complicated I'd recommend something like google's protobuf library or https://github.com/eyalz800/zpp_bits if you're able to use external dependencies.
-
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.
-
Yet another serializer. Serialize C/C++ datatypes, POD and classes, store or retrieve data to and from ostream and istream objects. With support for streams save or read data with files and send or receive them over networks. Its lightweight and header-only.
It might be interesting for you to compare with https://github.com/eyalz800/zpp_bits
-
Automatic Serialization in C++ for Game Engines | IndieGameDev
How about this https://github.com/eyalz800/zpp_bits
- Next step in zpp::bits serialization - protobuf without code generation - no proto file required- (experimental)
- Just added cool RPC capabilities for my C++20 serialization (zpp_bits)
-
Brand new C++20 serialization library (one header)
Since C++20 I felt I could improve my previous serialization library, and to avoid the complexity of supporting multiple C++ standard I decided to create a new one zpp_bits
tser
-
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?
serializer - A single header standard C++ serialization framework.
libletlib - C++ framework for the impatient.
serializer - Yet another serialzer
alpaca - Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code
libnop - libnop: C++ Native Object Protocols
osmanip - A cross-platform library for output stream manipulation using ANSI escape sequences.
MoreThanTuple - C++20 library for binary serialization of arbitrary aggregates or tuples. The library also unifies work with tuples and aggregates
SHA256-Implementation - A program that implements the SHA256 algorithm and generates the binary+hexdigest of a string input.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
dmpower - Interactive terminal D&D helper toolbox program for Dungeon Masters, players, and worldbuilders.
Blackjack_V1.02 - Extension of my old Blackjack game with Qt for C++