Hacker News new | ask | show | jobs
by williamsharkey 4003 days ago
The author writes:

"Sometimes (unless I am writing in Go) I don't want to bundle all my code together into one giant hulking binary."

I am unfamiliar with Go - can someone please offer why this technique might especially desirable/feasible with Go?

2 comments

Go only supports static linking. No dynamic linking means no linking issues when deploying the same binary across a billion machines in the Googleplex.
Go is one of the few gc'ed languages that supports static linking[0]. As a result it can solve the same problems as Java / Python / etc but makes distribution significantly easier.

[0] There's a whole bunch (Haskell, OCaml, nim) but none of them have the same popularity and corporate backing that Go has.