Hacker News new | ask | show | jobs
by oelmekki 2985 days ago
I see, thanks. I used vanilla `strip` on my binary and it did not produce any size gain (so the strip flag of go compiler is plenty enough).

Indeed, given how browsers already handle gunziping resources, it's probably best to rely on it. My binary, stripped by the go compiler and gziped, is 525ko (against 480ko using upx).

1 comments

Could it also be that Go encodes symbols in a way that strip can't read, or is is just standard ELF stuff?