index all rss twitter github linkedin email
Álvaro Ramírez

Álvaro Ramírez

14 April 2018 Options to reduce Go binary size

A Hacker News's thread Go gets preliminary WebAssembly support has a couple of tips to reduce binaries compiled with Go.

go build -ldflags=-s

UPX (Ultimate Packer for eXecutables) packs the binary further.

upx --ultra-brute