Just gave it another try cross-compiling to Arm on Linux. This time binary size stays the same. Sorry if my excitement was too premature.
On Friday, February 9, 2024 at 2:11:25 PM UTC+1 cpu...@gmail.com wrote: > It's really surprising (positively). Compiling with -ldflags='-s -w' if > anyone wants to try this. > > On Friday, February 9, 2024 at 1:23:20 PM UTC+1 qiulaidongfeng wrote: > >> Quick search to find go1.22 as follows CL like >> https://go-review.googlesource.com/c/go/+/521615 reduces binary size. >> However, from 93MB to 81MB, I think it is most likely the result of the >> joint efforts of many CLs. >> >> On Friday, February 9, 2024 at 7:46:48 PM UTC+8 cpu...@gmail.com wrote: >> >>> I was surprised to see my application (MacOS binary) go from 93MB to >>> 81MB (no PGO). Release notes don't mention this. >>> >>> Has anyone made similar experience or knows why that is? >>> >>> Thanks, >>> Andi >>> >> -- 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/74abf623-f1cc-4835-9893-8bc91d3e2afbn%40googlegroups.com.