Jakub Beránek personal blog

Making Rust binaries smaller by default

Have you ever tried to compile a helloworld Rust program in --release mode? If yes, have you seen its binary size? Suffice to say, it’s not exactly small. Or at least it wasn’t small until recently. This post details how I found about the issue and my attempt to fix it in Cargo.
Points
248
HN comments
194
Submissions
1
Cited by
5 commenters

Software EngineeringSystems & Performance2024

On Hacker News

SubmittedTitle on HNPointsComments
Jan 24, 2024Making Rust binaries smaller by default by todsacerdoti248194

Cited in comments

Linked from 5 Hacker News comments by 5 different people, from Feb 2024 to Oct 2025.

Most recent:

Search every comment that links here →

More from Jakub Beránek

All 8 posts →

Related posts from the same era