News for hackers. Stuff that matters.
Re:Show HN: Tiny 1k Rust binary on Windows by ChrisSD on Tuesday December 01, 2020 @11:03AM (#25266338)
Have you actually tried this on MSVC? This is my program. I created a file called `small.c`

    #include <stdio.h>
    
    int main(void) {
        puts("Hello World!");
        return 0;
    }

I then compiled it using this command:

   cl small.c /MD
The result? 9kb! That's 9 times the size.

There are no comments on this comment yet.