Jump to content

Binary Diet: Shrinking Rust Releases Without Sorcery: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 November 2025

  • curprev 07:5207:52, 16 November 2025 PC talk contribs 6,408 bytes +16 No edit summary undo
  • curprev 07:5207:52, 16 November 2025 PC talk contribs 6,392 bytes +6,392 Created page with "“It’s just printing text,” he said. Fair point. A C version would’ve been what, 20KB? I muttered something about static linking and moved on. But that number kept bugging me. Four megabytes for twelve lines of code felt wrong. The Thing Nobody Tells You Here’s what happened: I built with cargo build --release and assumed that meant "optimized." Turns out, Rust's idea of optimized means "fast to execute" not "small to ship." The default release profile optimiz..."