Aether / Osmium

Osmium

A context-mixing compressor for text, written in Rust and measured on the Hutter Prize data: the first gigabyte of English Wikipedia. One small program compresses and decompresses, and every number on this page is a verified round trip.

168.15 MBenwik9 (1 GB) compressed by 0.1.0, 1.345 bits per byte
18.49 MBenwik8 (100 MB) compressed by 0.2.0, 1.479 bits per byte
20.6%smaller than xz -9e on enwik9
~900 linesof Rust, integer arithmetic only, no dependencies

Try it

The same code, compiled to WebAssembly, runs below in a background worker. Each compression is decompressed again and compared before the file is offered. .osm files made here open with the command-line tool and the other way round. It needs about 300 MB of memory, so a desktop browser works best.

Loading…

Results

Apple M4 MacBook Air, one core; peak memory from /usr/bin/time -l. Decompressed output compared byte for byte with the original. Version 0.2.0 has not been run on enwik9 yet; that row is 0.1.0.

Filegzip -9bzip2 -9xz -9eOsmiumTime (c / d)Memory
enwik8, 100 MB36,475,81129,008,75824,831,64818,485,784 (0.2.0)267 s / 269 s2.1 GB
enwik9, 1 GB322,789,249253,977,891211,776,220168,149,041 (0.1.0)1,347 s / 1,001 s3.5 GB

Against the Hutter Prize

The prize scores the compressed enwik9 plus the decompressor. The record listed on July 24, 2026 is 100,424,672 bytes (Vladimir Ivanov, fx2-cmix-T). Osmium 0.1.0's total is 168,311,575 bytes (archive plus the zipped decompressor), so it is not a contender: record entries run thousands of models, LSTM mixers and large preprocessing dictionaries over days of CPU time. Osmium is a compact, readable member of the same family that beats the general-purpose tools by a wide margin, and a base to build on.

How it works

Source on GitHub · MIT license.