3 ms·
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 firm
by cryo 3y 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 https://github.com/dresden-elektronik/gcfflasher
- smallnix 3y agoIs upx still ringing all the AV's alarm bells? (It's been a while since I used it)