awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
rkyv avatar

rkyv/rkyv

0
View on GitHub↗
4,267 stars·230 forks·Rust·MIT·26 viewsrkyv.org↗

Rkyv

rkyv is a zero-copy deserialization framework for Rust that provides a binary serialization format for memory-mappable data archives. It allows complex data structures to be mapped to bytes and accessed directly from a buffer without allocating new memory or copying data.

The project enables the serialization of polymorphic types and trait objects, maintaining their dynamic behavior and structure within the binary form. It utilizes relative-pointer addressing and byte-aligned structure packing to ensure data remains valid regardless of where it is loaded in memory.

The framework covers high-performance data persistence and low-latency state management through direct memory mapping. It provides mechanisms for both zero-copy data access and full data type reconstruction when required by the application.

Features

  • Zero-Copy Deserialization - Implements zero-copy deserialization to access complex data structures directly from buffers without allocations.
  • Binary Serialization Formats - Provides a specialized binary serialization format designed for efficient memory-mappable data archives.
  • Memory-Mapped File Access - Provides direct mapping of files into process memory for high-performance structured data access.
  • Zero-Copy Memory Mappings - Maps byte buffers directly to memory addresses to enable data access without allocation or copying.
  • Polymorphic Binary Encodings - Encodes and decodes Rust trait objects while maintaining their dynamic behavior in binary form.
  • Polymorphic Type Serializers - Encodes trait objects and polymorphic types using stable identifiers to maintain dynamic dispatch in binary form.
  • In-Place Layouts - Provides a binary data layout that matches target types in memory for instant access.
  • Memory-Mapped Data Structures - Transforms data structures into memory-mapped formats optimized for cache locality and reduced overhead.
  • Offset-Based Addressing - Uses relative offsets instead of absolute addresses to ensure data remains valid regardless of memory location.
  • Zero-Copy - Offers a complete framework for mapping binary data directly to memory to eliminate encoding and decoding overhead.
  • Zero-Copy Data Access - Creates memory-mappable data archives that allow fields to be read directly from a buffer.
  • Polymorphic Data Encodings - Represents variant types and trait objects within serialized memory-mapped structures using binary tagging.
  • High-Performance Data Infrastructures - Enables high-throughput storage and retrieval of large datasets by eliminating traditional deserialization costs.
  • Direct Memory Access - Connects archived data directly to memory addresses for access without allocating new structures.
  • Low-Latency State Persistence - Allows application state to be read instantly from disk without an expensive reconstruction phase.
  • Structure Padding - Implements structure padding to ensure data fields are aligned to hardware memory boundaries for optimal CPU access.
  • Trait-Based Serialization - Utilizes Rust traits to define the transformation of complex types into their archived binary counterparts.

Star history

Star history chart for rkyv/rkyvStar history chart for rkyv/rkyv

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Rkyv

These projects share indexed features with Rkyv. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • capnproto/capnprotocapnproto avatar

    capnproto/capnproto

    13,089View on GitHub↗

    CapnProto is a zero-copy serialization framework and remote procedure call system. It serves as a C++ communication library providing a schema-based data interchange format that eliminates the need to encode or decode data before reading it from memory. The system enables high-performance data serialization and low-latency network communication. It supports cross-language data exchange by using a defined schema to ensure consistent binary representation across different platforms. The framework provides tools for implementing remote procedure calls, allowing functions to be invoked on a remo

    C++
    View on GitHub↗13,089
  • alipay/furyalipay avatar

    alipay/fury

    4,412View on GitHub↗

    Fury is a multi-language binary serialization framework designed for encoding domain objects and complex graphs to facilitate cross-language data exchange. It includes an interface definition language compiler that translates schema definitions into idiomatic native types and serialization boilerplate across multiple languages. The project distinguishes itself through a zero-copy binary reader that allows specific fields to be accessed without deserializing the entire object, as well as an object graph serializer that preserves circular references and referential integrity. It also features a

    Java
    View on GitHub↗4,412
  • apache/foryapache avatar

    apache/fory

    4,234View on GitHub↗

    Fory is a cross-language serialization framework and binary data serializer designed to convert complex object graphs into a compact binary format for high-performance data exchange. It includes an IDL-based schema compiler to transform interface definition language files into type-safe native data models and a schema evolution manager to maintain forward and backward compatibility. The project features a zero-copy data access layer that allows reading specific fields from binary rows without deserializing the entire object. It supports dual-mode serialization, enabling a toggle between a por

    Javacompressioncppcross-language
    View on GitHub↗4,234
  • google/flatbuffersgoogle avatar

    google/flatbuffers

    25,558View on GitHub↗

    FlatBuffers is a cross-platform serialization library designed for performance-critical applications that require efficient, zero-copy data access. By organizing data in a structured binary format, it allows applications to read and write complex data structures directly from memory-mapped buffers without the need for intermediate parsing or temporary object allocation. The project distinguishes itself through a schema-driven approach that balances high-performance access with long-term data evolution. It utilizes a unique memory layout featuring relative offsets and inline fixed-size structu

    C++cc-plus-plusc-sharp
    View on GitHub↗25,558
Compare all 30 related projects→

Frequently asked questions

What does rkyv/rkyv do?

rkyv is a zero-copy deserialization framework for Rust that provides a binary serialization format for memory-mappable data archives. It allows complex data structures to be mapped to bytes and accessed directly from a buffer without allocating new memory or copying data.

What are the main features of rkyv/rkyv?

The main features of rkyv/rkyv are: Zero-Copy Deserialization, Binary Serialization Formats, Memory-Mapped File Access, Zero-Copy Memory Mappings, Polymorphic Binary Encodings, Polymorphic Type Serializers, In-Place Layouts, Memory-Mapped Data Structures.

Which projects share features with rkyv/rkyv?

Projects with overlapping indexed features include: capnproto/capnproto — CapnProto is a zero-copy serialization framework and remote procedure call system. It serves as a C++ communication… alipay/fury — Fury is a multi-language binary serialization framework designed for encoding domain objects and complex graphs to… apache/fory — Fory is a cross-language serialization framework and binary data serializer designed to convert complex object graphs… google/flatbuffers — FlatBuffers is a cross-platform serialization library designed for performance-critical applications that require… simdjson/simdjson — simdjson is a high-performance, header-only C++ library designed for parsing, querying, and serializing JSON data with… zserge/jsmn — jsmn is a lightweight JSON parser library written in C. It provides zero-copy tokenization and incremental parsing…

Curated searches featuring Rkyv

Hand-picked collections where Rkyv appears.
  • Rust Data Serialization Frameworks