Ad

yas: Fast C++ Serialization Library

YAS is a lightweight, header-only C++ library offering high-performance serialization, designed as a faster alternative to boost.serialization. It supports a wide range of standard and Boost containers.
Screenshot of niXman/yas homepage

YAS is a header-only C++ library designed as a high-performance alternative to boost.serialization. It aims to provide faster serialization and deserialization compared to its predecessor. It is written with C++11 support, does not depend on external libraries, and is endian-independent. YAS provides functions for serializing and deserializing various data types, including standard containers such as arrays, vectors, and combinations from the Boost library.

YAS is a header-only library, eliminating the need for external dependencies and simplifying integration. Its focus on speed makes it suitable for performance-critical applications. It offers a straightforward API for serializing and deserializing data, improving developer experience. The library supports a broad range of standard and Boost data structures, reducing the need for custom serialization logic.

  • Performance: Significantly faster serialization compared to boost.serialization.
  • Header-Only: No external dependencies, easy to integrate into projects.
  • Wide Container Support: Handles a comprehensive set of standard and Boost containers.
  • Endian-Independent: Works correctly on systems with different endianness.
  • C++11 Support: Requires C++11 or later standard support.

The project is actively maintained with recent commits and ongoing development efforts. The documentation provides clear examples of usage and supported types. While not as widely adopted as Boost serialization, YAS is a viable alternative and has a growing community. Further feature additions are planned, including support for protobuf/messagepack and object versioning.

YAS is beneficial for developers seeking a high-performance, header-only C++ serialization solution. It's well-suited for applications where speed is critical and dependency management is a concern. It streamlines the process of saving and loading complex data structures, providing an efficient alternative to manual serialization or slower libraries.

Languages:
Summarize:
Share:
Stars
793
Forks
100
Issues
12
Created
14 years ago
Commit
1 year ago
License
None
Archived
No
Updated 8 days ago

Similar Repositories