← All projects
Project record1 mention
Originally shared on Hacker News

TLV message protocol

This project implements a TLV message protocol, a binary data serialization format inspired by MsgPack, CBOR, and Ion 1.1, aiming to be 'JSON without the bloat, Protobufs without the ceremony'. It emphasizes a tight set of core primitives, low-cost extensions, storage of reused values/schemas, and optional pre-negotiation, with attention to encoding/decoding performance.

Last shared For For the author's own use in other personal projects
01 / The problem

What it addresses

Existing formats like JSON carry bloat and Protobufs involve ceremony; the protocol aims to remove those costs.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. TLV message protocol

    This project implements a TLV message protocol, a binary data serialization format inspired by MsgPack, CBOR, and Ion 1.1, aiming to be 'JSON without the bloat, Protobufs without the ceremony'. It emphasizes a tight set of core primitives, low-cost extensions, storage of reused values/schemas, and optional pre-negotiation, with attention to encoding/decoding performance.

    Problem: Existing formats like JSON carry bloat and Protobufs involve ceremony; the protocol aims to remove those costs.

    Audience: For the author's own use in other personal projects

    Posted by @seangrogg · Original source ↗

    Source text · @seangrogg · · Source ↗

    I am currently in the process of implementing a TLV message protocol (think MsgPack, CBOR, etc). This is something I've been kicking tires on since my time at $BIGCORP; JSON without the bloat, Protobufs without the ceremony.