Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

Qdf – a Go serializer you query the raw bytes of, smaller than protobuf

Qdf is a Go-based serializer that stores data as raw queryable bytes. It produces output smaller than Protocol Buffers, offering a compact binary format where field values can be accessed directly from the encoded byte stream without full deserialization.

Background

- **Qdf** (Quantum Data Format) is an experimental binary serialization library written in Go. Unlike typical serializers (like Protocol Buffers, MessagePack, or JSON) that decode data into structured objects before you can read fields, Qdf lets you query raw bytes directly using an index number — without deserializing the entire payload. This can reduce memory allocation and CPU overhead.

Related stories