uv shrinks binary size 40% (57% on Windows), saving ~4 PB of bandwidth monthly — here's how

charliermarsh · x · 2026-10-10

Charlie Marsh details how uv reduced its binary size by over 40% since July (57% on Windows), saving nearly 4 PB of download bandwidth per month across public mirrors. Biggest wins: panic = "abort", a single codegen unit, PGO, avoiding monomorphization on heavy types, and a custom DebugNoInline to stop derive(Debug) from inlining huge error enums.

Related event: uv Binary Size Cut by Over 40%, Saving ~4 PB of Bandwidth Monthly(2 posts)→

Original post →

More from coding & agent

coding & agent channel →