4 ms·
gccgo + upx can reduce the size of Go executables considerably, usually below 1M.
by xyproto 3y ago
gccgo + upx can reduce the size of Go executables considerably, usually below 1M.
- makapuf 3y agonote that it does not reduce the memory size once loaded (and even prevents sharing pages when several instances are run since memory is written when decompressed, not read as a program binary is)
- londons_explore 3y ago> even prevents sharing pages when several instances are run since memory is written when decompressed, not read as a program binary A shame the linux kernel doesn't have some way for packers to say "I am a packer, I run with access to nothing except the binary, therefore run me with no permissions and then share the pages I make with any user that executes me. If you like, you can even delete my output and reunpack me on-demand"
- xyproto 3y agoThat would be something!
- deleted 3y ago[deleted]