{"slug": "kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs", "title": "Kiln in Zig - one frozen wire format, eleven from-scratch codecs", "summary": "Kiln's Zig codec is one of eleven independent implementations of the Kiln serialization format, all validated against the same golden files, according to the GLD.SerializerBenchmark dashboard. The format's compactness is illustrated by the pair {\"x\":9,\"y\":-4}, which takes 14 bytes as JSON but 8 bytes in Kiln (09 00 00 00 fc ff ff ff). The Zig implementation is published on GitHub as leo-gan/gld-kiln-zig.", "body_md": "**Kiln** in one line: the [Zig codec](https://github.com/leo-gan/gld-kiln-zig) is one of eleven\n\nindependent implementations, [all checked against the same golden\nfiles](https://leo-gan.github.io/GLD.SerializerBenchmark/dashboard/?lang=mojo&dataset=suite&data=all%40all&mode=published&metric=ops&baseline=dagr-frozen-packed&log=1&cbase=mojo%7Cgld-kiln&ser=mojo%7Cgld-kiln&ser=mojo%7Cdagr-frozen-packed&ser=mojo%7Cdagr-packed&ser=mojo%7Cdagr-frozen&ser=mojo%7Cdagr-regular&ser=mojo%7Cmojo-protobuf&ser=mojo%7Cmojo-msgpack&ser=mojo%7Cmojo-json#compliance/all).\n\n## \n\n`JSON` {“x”:9,“y”:-4} is serialized in 14 bytes, `Kiln` writes 8 bytes: 09 00 00 00 fc ff ff ff\n\n \n\n \n[alanza](https://ziggit.dev/u/alanza)\n2\n \nbe sure to add the LLM tag if it’s necessary.", "url": "https://wpnews.pro/news/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs", "canonical_source": "https://ziggit.dev/t/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs/18170#post_2", "published_at": "2026-11-01 18:27:24+00:00", "updated_at": "2026-11-01 18:50:09.925400+00:00", "lang": "en", "topics": ["developer-tools"], "entities": ["Kiln", "Zig", "GLD.SerializerBenchmark", "leo-gan", "alanza"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs", "markdown": "https://wpnews.pro/news/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs.md", "text": "https://wpnews.pro/news/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs.txt", "jsonld": "https://wpnews.pro/news/kiln-in-zig-one-frozen-wire-format-eleven-from-scratch-codecs.jsonld"}}