Skip to content

gld-avro-zig

gld-avro-zig is an Apache Avro serializer written in Zig 0.16. The codec and the code generator are Zig. They do not wrap libavro.

  • Why Avro


    What a datum is, why the schema is required, and how evolution works.

    Read Why Avro

  • Instructions


    Build with Zig 0.16, decode a record, generate Zig, and run the tests.

    Open Instructions

  • Examples


    Encode a generic record, a container file, and a generated struct.

    See Examples

  • Techniques


    How the wire, the schema arena, and resolution are laid out.

    Read Techniques

  • Test data


    Schemas, container files, and the bytes compared with Python Avro.

    Open Test data