CppSerialization
Performance comparison of the most popular C++ serialization protocols such as Cap'n'Proto, FastBinaryEncoding, Flatbuffers, Protobuf, JSON (by chronoxor)
construct-js
🛠️A library for creating byte level data structures. (by francisrstokes)
CppSerialization | construct-js | |
---|---|---|
1 | 6 | |
134 | 1,364 | |
- | - | |
5.0 | 0.0 | |
about 2 months ago | about 1 year ago | |
C++ | TypeScript | |
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.
CppSerialization
Posts with mentions or reviews of CppSerialization.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-10.
-
Binary serialization library for at least C++17?
If schema based, then some of these are valid https://github.com/chronoxor/CppSerialization, or you could use something like cereal (as mentioned before)
construct-js
Posts with mentions or reviews of construct-js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-21.
-
What are some good projects for learning about buffers, event emitters, and streams in NodeJS?
How events emitters or streams, but I made heavy use of buffers in construct js, which is a library for creating byte level binary data structures.
-
Reverse engineering a proprietary USB control driver for a mechanical keyboard and building an open source equivalent
I've been working pretty hard for the last couple of years to bring a lot of these capabilities to JS/TS. Arcsecond (and it's binary extension) is a general library for parsing, which can easily take a block of memory and convert it to a workable data structure (even when that data structure is some kind of contextual union). You can use construct-js to (re)build an arbitrary byte buffer from structured data, making use of operators for sizeof and pointers.
-
Binary serialization library for at least C++17?
I myself am looking for a binary serializer/deserializer that's like construct in python or construct-js, but obviously I wouldn't need some of the types that they have, since C++ already has them.
- construct-js: A library for creating byte level data structures written in TypeScript
- construct-js: A library for creating byte level data structures, recently rewritten in TypeScript
- construct-js: A library for creating byte level data structures
What are some alternatives?
When comparing CppSerialization and construct-js you can also consider the following projects:
Stroika - Modern C++ made easy
arcsecond - ✨Zero Dependency Parser Combinator Library for JS Based on Haskell's Parsec
protobuf - Protocol Buffers - Google's data interchange format [Moved to: https://github.com/protocolbuffers/protobuf]
Kaitai Struct - Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby
smf - Fastest RPC in the west
Bitsery - Your binary serialization library
cereal - A C++11 library for serialization
Construct - Construct: Declarative data structures for python that allow symmetric parsing and building
nexe - 🎉 create a single executable out of your node.js apps
CppSerialization vs Stroika
construct-js vs arcsecond
CppSerialization vs protobuf
construct-js vs Kaitai Struct
CppSerialization vs smf
construct-js vs Bitsery
CppSerialization vs Bitsery
construct-js vs cereal
CppSerialization vs Construct
construct-js vs nexe
CppSerialization vs cereal
construct-js vs Construct