Hi! 

On Sat, 15 Jun 2024, Peter Galbavy wrote:
> If end binary size is a constraint, try "upx" to compress the end binary. I 
> regularly get 3x compression - but lose all debug options, obviously. Works 
> on most OSes for executables.

Be aware that there are further consequences to using upx, beyond "no
debug symbols". Startup is likely slower, and even steady-state runtime
performance may suffer (this is anecdotal, but I have no reason to doubt
it). 

For embedded systems and similar scenarios, it still is a very valuable
tool.

Best,
Tobias

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/015e19c9-4f7c-45b8-97aa-6b6ac04ab926%40skade.local.

Reply via email to