1 repo
Methods for representing variant types within serialized or memory-mapped data structures.
Distinguishing note: Focuses on low-level binary tagging rather than high-level language-specific union types.
Explore 1 awesome GitHub repository matching software engineering & architecture · Polymorphic Data Encodings. Refine with filters or upvote what's useful.
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
Encodes polymorphic data by pairing an enumeration constant with a relative offset to identify and locate the specific variant.