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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 24, 2024 | Making Rust binaries smaller by default by todsacerdoti | 248 | 194 |
Cited in comments
Linked from 5 Hacker News comments by 5 different people, from Feb 2024 to Oct 2025.
Most recent:
- throawayonthe · Oct 18, 2025
- kapilsinha · Mar 19, 2024
- Voklen · Feb 18, 2024
- nindalf · Feb 18, 2024
- BD103 · Feb 5, 2024