top | item 36352920

(no title)

joseluis | 2 years ago

That must be without stripping. Also there are ways to reduce binary size. See e.g. [min-sized-rust](https://github.com/johnthagen/min-sized-rust). I've gotten stripped binaries of small cli utils less than 400KiB without doing anything special, less than 150 KiB by customizing profile settings and compressing with upx, and less than 30 KiB by replacing the std with the libc as the link shows. Haven't tried with fltk though...

discuss

order

cinntaile|2 years ago

UPX compressed files used to get flagged by antivirus software, is that not the case anymore?

Brian_K_White|2 years ago

I think practical/application issues are out of scope here as this is more like an academic study of a single dimension.

upx being acceptable or not is no different than how none of the best performing examples here would be acceotable in most situations either, not just the upx ones, just for other reasins. No company making a random app that didn't have a critical need for this metric would tolerate you writing it in assembly or even c with muscl etc instead of something everyone else can maintain.