13
submitted 2 weeks ago by yogthos@lemmy.ml to c/programming@lemmy.ml
top 2 comments
sorted by: hot top new old
[-] davel@lemmy.ml 4 points 2 weeks ago* (last edited 2 weeks ago)

OpenZL takes a description of your data and builds from it a specialized compressor optimized for your specific format.

It provides a set of primitive codecs that can be composed in a DAG. Additionally, it allows for user-defined control flow to modify the DAG based on the data, at any point in the compression. OpenZL also provides a universal decompressor that can decompress anything produced by the compressor, independent of the compression DAG.

Conceptually very cool. Information theory says that the more one knows about a dataset’s format, the more one can compress it. If you describe the data’s encoding and overall shape using non-recursive enumerable languages, then you can safely use them as compression hints.

Instead of making twenty custom compressors for twenty different data formats, they’ve generalized it, and presumably decompression doesn’t require separate copies of the same hints used for compression.

[-] yogthos@lemmy.ml 5 points 2 weeks ago

using metadata to guide the compression algorithm is definitely a neat concept

this post was submitted on 27 Jun 2026
13 points (100.0% liked)

General Programming Discussion

9966 readers
14 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS