top | item 39423885

(no title)

cryo | 2 years ago

Interesting, would be cool to see that applied to a real world rust program.

Today I got rid of libc on the Windows version of a commandline tool to flash firmware via USB, which freed 7 kB of the .exe size.

The original version was done in C++ plus Qt and was ca. 3.5 MB (.exe and dependencies).

The optimized C version is 14 kB compressed with upx.

FYI Code: https://github.com/dresden-elektronik/gcfflasher

discuss

order

smallnix|2 years ago

Is upx still ringing all the AV's alarm bells? (It's been a while since I used it)