← All projects
Project record1 mention
Originally shared on Hacker News

fesh

This experiment explores AI-guided compression of executable binaries: fesh acts as a deterministic pre-processor pipeline wrapping LZMA (xz), applying transformations such as extracting near-branches, normalizing jump tables, rewriting .eh_frame DWARF pointers to absolute image bases, delta-encoding ELF .rela structs with ZigZag mappings, and column transpositions before compressing in separate LZMA channels. CI verifies bit-for-bit reversible compression across 103 Alpine Linux x86_64 packages, and benchmarks show payloads averaging ~6% smaller than xz -9e --x86 (XZ BCJ) and consistently smaller than ZSTD and Brotli.

Last shared
01 / Source history

Shared over time

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

  1. fesh

    This experiment explores AI-guided compression of executable binaries: fesh acts as a deterministic pre-processor pipeline wrapping LZMA (xz), applying transformations such as extracting near-branches, normalizing jump tables, rewriting .eh_frame DWARF pointers to absolute image bases, delta-encoding ELF .rela structs with ZigZag mappings, and column transpositions before compressing in separate LZMA channels. CI verifies bit-for-bit reversible compression across 103 Alpine Linux x86_64 packages, and benchmarks show payloads averaging ~6% smaller than xz -9e --x86 (XZ BCJ) and consistently smaller than ZSTD and Brotli.

    Posted by @mohsen1 · Original source ↗

    Source text · @mohsen1 · · Source ↗

    The result is an experiment called fesh. It works strictly as a deterministic pre-processor pipeline wrapping LZMA (xz).