Reducing the size of Go binaries by up to 77%

33 points by hemitheconyx


reezer

First post and self-authored Datadog advertising article. When you click on "I am the author" it links to two sentences that essentially tell you not to do this.

simonw

This article showed me https://gsa.zxilly.dev/ which is really nice, you can drop a Go binary on there and see what's in it as a treemap, all running in the browser with WebAssembly.

symgryph

I'm surprised they didn't mention the other optimizations such as minus s minus w and the typical other ones. You can do that. Really reduce the size without having to do all this. Not that it wasn't interesting.