A compression tool that beats xz on x86_64 ELFs by 6%
AI-designed ELF preprocessing beats xz by 6% on 103 real binaries, perfectly reversible.
An experiment building a new type of compression algorithm
LLM-guided structural preprocessing beats xz -9e on 103/103 Alpine binaries tested.
Systems engineers, embedded developers, container/binary distribution optimization specialists
UPX · xz · Brotli
The result is an experiment called fesh. It works strictly as a deterministic pre-processor pipeline wrapping LZMA (xz). The AI kept identifying "structural entropy boundaries" and instructed me to extract near-branches, normalize jump tables, rewrite .eh_frame DWARF pointers to absolute image bases, delta-encode ELF .rela structs with ZigZag mappings, and force column transpositions before compressing them in separated LZMA channels.
Surprisingly, it actually works. The CI strictly verifies that compression is perfectly reversible (bit-for-bit identity match) across 103 Alpine Linux x86_64 packages. According to the benchmarks, it consistently produces smaller payloads than xz -9e --x86 (XZ BCJ), ZSTD, and Brotli across the board—averaging around 6% smaller than maximum XZ BCJ limits.
I honestly have no idea how much of this is genuinely novel versus standard practices in extreme binary packing (like Crinkler/UPX).
Repo: https://github.com/mohsen1/fesh
Does this architecture have any actual merits for standard distribution formats, or is this just overfitting the LZMA dictionary to Alpine's compiler outputs? I'd love to hear from people who actually understand compression math.
AI-designed ELF preprocessing beats xz by 6% on 103 real binaries, perfectly reversible.
Full Rust ownership checking and code generation in PHP; technically audacious, practically hilarious.
298 bytes total — direct syscalls, no libc, hand-written assembly that actually works.
Zig-based binary inspector that avoids heavy RE frameworks like Ghidra or IDA.
Celeste playable on a $15 microcontroller as a 42kB ELF binary.
Fits battery monitoring into 301 bytes — pure demoscene craft.