buffer-benchmarks
cista
buffer-benchmarks | cista | |
---|---|---|
1 | 4 | |
8 | 1,663 | |
- | - | |
10.0 | 7.3 | |
over 1 year ago | 8 days ago | |
Rust | C++ | |
Apache License 2.0 | 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.
buffer-benchmarks
-
Ask HN: What happened to flatbuffers? Are they being used?
Here is a benchmark of Protobuf, FlatBuffers, and Cap'n Proto across Go and Rust. It doesn't include JSON tho
https://github.com/kcchu/buffer-benchmarks
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?
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
cereal - A C++11 library for serialization
flatgeobuf - A performant binary encoding for geographic data based on flatbuffers
Protobuf - Protocol Buffers - Google's data interchange format
Cap'n Proto - Cap'n Proto serialization/RPC system - core tools and C++ library
protozero - Minimalist protocol buffer decoder and encoder in C++
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
Boost.Serialization - Boost.org serialization module
hn-search - Hacker News Search
protobuf-c - Protocol Buffers implementation in C
Bitsery - Your binary serialization library