News for hackers. Stuff that matters.
Re:Go 1.9 is released by arghwhat on Friday August 25, 2017 @04:47AM (#15097054)
Well, Go code is statically linked, but the runtime may try to dynamically load libc for DNS resolving. Use of cgo of course drastically change everything.
Re:Go 1.9 is released by pjmlp on Friday August 25, 2017 @06:16AM (#15097360)
By default, nowadays the toolchain also supports generating dynamic libraries.
Re:Go 1.9 is released by 4ad on Friday August 25, 2017 @10:52AM (#15098852)
And by default, this feature is not used.
Re:Go 1.9 is released by pjmlp on Friday August 25, 2017 @10:55AM (#15098870)
So what, it doesn't make this "Go code is statically linked" into a fact, given that it depends on compiler flags.

Now if it said "Go code is usually/by default statically linked", then yes.