The Smallest Hello World Program
So, initially, I just wanted to see what the smallest binary size for a ‘Hello World’ program written in Rust would be. Why? Out of curiosity - it's probably just a simple compiler flag anyway, right? Well, turns out there are some that help, but you...
blog.lohr.dev8 min read
Haydon Ryan
I would love you to dive deep in to rust binaries. I have a feeling that there needs to be significant improvement in the final size of binaries (based of creating a hello world release binary of 310,040 bytes). I'm thinking that even with LTO it's not actually removing a bunch of unused library code.