alpaca: A new serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • alpaca

    Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code (by p-ranav)

  • cpp_serializers_benchmark

    C++ serializers benchmark with realistic data

  • Can you consider updating the benchmark with comparisons? For example, you could fork https://github.com/fraillt/cpp_serializers_benchmark/ so that we have a point of reference.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • tser

    tser - tiny serialization for C++

  • 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.

  • cista

    Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.

  • 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.

  • zpp_bits

    A lightweight C++20 serialization and RPC library

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts