cppast
cista
cppast | cista | |
---|---|---|
2 | 4 | |
1,639 | 1,648 | |
0.8% | - | |
1.3 | 7.3 | |
12 months ago | 9 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | 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.
cppast
-
Adding reflection to C++ just to make a game work
I had a similar journey while working on my own custom game engine! I managed to persevere with "plan C" (or whichever was using libclang); after trying out cppast and getting severe NIH syndrome, I ended up with this: metacpp. Do not recommend.
-
Enabling C/C++ compilation in an application.
Here's an example library that uses the frontend: https://github.com/foonathan/cppast
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?
booleval - Header-only C++17 library for evaluating logical expressions.
cereal - A C++11 library for serialization
color_coded - A vim plugin for libclang-based highlighting of C, C++, ObjC
Protobuf - Protocol Buffers - Google's data interchange format
sdkffi - A code parser for C-Style header files that lets you to parse function's prototypes and data types used in their parameters.
protozero - Minimalist protocol buffer decoder and encoder in C++
celix - Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
Boost.Serialization - Boost.org serialization module
metacpp - Meta C++ Library and Tool
protobuf-c - Protocol Buffers implementation in C
ChaiScript - Embedded Scripting Language Designed for C++
Bitsery - Your binary serialization library