packet
protopuf
packet | protopuf | |
---|---|---|
1 | 2 | |
2 | 141 | |
- | - | |
1.8 | 0.0 | |
over 3 years ago | over 1 year ago | |
C++ | C++ | |
MIT License | Apache License 2.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.
packet
-
packing / unpacking data in c++
This is a very short blog post since its a small c++ header-only lib I created, hence the full documentation would be in the github repo. The packet library is intended to provide an easy "API" for packing and unpacking data (messages) so they can, for example, be safely sent over the wire (TCP). Whenever you need to send information over the wire is important to know:
protopuf
-
protopuf: throw away protoc and describe protobuf schema just by c++ templates!
You can see some benchmarks in https://github.com/PragmaTwice/protopuf/tree/master/test/benchmark and get the results of it in github actions. But the benchmark is not comprehensive at the moment, and I realized that part of the slowness of protobuf comes from the fact that it checks if the string follows utf8
What are some alternatives?
stuff_sack - Efficient multi-language message packing / serialization.
proxinject - a socks5 proxy injection tool for Windows, making selected processes proxy-able
autoproto - Replacement derive macros for `prost::Message`, and supporting traits and types to make implementing this trait easier
s2 - A data-binding function for the DOM.
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
crunchy-bytes - C++ 17 Schema Serialization Library
Cap'n Proto - Cap'n Proto serialization/RPC system - core tools and C++ library
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
lwlog - Very fast synchronous and asynchronous C++17 logging library