3 ms·
Almost empty .NET executables are 8 KB. Almost empty MSVC executables are less than 64 KB.
by Joker_vD 6y ago
Almost empty .NET executables are 8 KB. Almost empty MSVC executables are less than 64 KB.
- executesorder66 6y agoI'm asking what this has to do with Linux. This is not a discussion of rust vs .NET. this is a discussion of Linux vs windows. So I don't see how your comment is at all relevant. If you compile the exact same rust code in the post on a windows machine, using cargo like in the post, then is the resulting windows executable file size really any different compared to the linux one?
- userbinator 6y agoMSVC somehow wants to link statically by default, but if you use dynamic linking an empty executable shrinks to around 4k.