tpl
« Back to VersTracker
Description:
Store and retrieve binary data in C
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-library serialization binary-format data-storage embedded
Install: brew install tpl
About:
Tpl is a C library designed for storing and retrieving binary data structures efficiently. It provides a simple serialization mechanism that maps C data types to a compact binary format. Its main value proposition is offering a lightweight, dependency-free solution for persistent storage of application state or network messaging without the overhead of full databases.
Key Features:
  • Zero-dependency C library
  • Maps C structs directly to binary format
  • Supports dynamic arrays and nested structures
  • File-based persistence with append capabilities
  • Lightweight serialization/deserialization
Use Cases:
  • Persisting application configuration or state to disk
  • High-performance inter-process communication
  • Storing binary logs or telemetry data
  • Embedded systems data storage
Alternatives:
  • protobuf-c – More complex, requires code generation step
  • msgpack-c – Cross-language support but larger dependency footprint
  • sqlite – Full SQL database, heavier for simple binary storage needs
Version History
Detected Version Rev Change Commit
Sep 12, 2024 8:05pm 0 VERSION_BUMP 06d8846a