News for hackers. Stuff that matters.
Re:Show HN: Tiny 1k Rust binary on Windows by mythz on Tuesday December 01, 2020 @09:38AM (#25265505)
The smallest executable gcc (on Ubuntu) compiles that to is 8296 bytes (tried every -O optimization).
Re:Show HN: Tiny 1k Rust binary on Windows by nitrogen on Tuesday December 01, 2020 @04:29PM (#25270177)
Is that stripped or unstripped?
Re:Show HN: Tiny 1k Rust binary on Windows by pantalaimon on Tuesday December 01, 2020 @11:50AM (#25266890)
Hm I only looked at the output of size which gives

   text    data     bss     dec     hex filename
   1566     600       8    2174     87e hello
(no optimisations)