News for hackers. Stuff that matters.
Re:I shaved 187MB off United Airlines' 439MB iOS app by 2143 on Thursday February 24, 2022 @09:54AM (#30455395)
> Golang binaries are like 5-15x the size of a dinamically linked C binary, yes, but at least they provide everything and run everywhere.

I once ported a shoddily written (by me) Python script to Go. About 400 LOC in Go. The compiled executable size was a whopping 7 mb!

This was more than I expected.

It turns out there's a reason for large executable sizes in Go [1], and apparently it can be made smaller.

[1] https://go.dev/doc/faq#Why_is_my_trivial_program_such_a_larg...

There are no comments on this comment yet.