News for hackers. Stuff that matters.
Re:What's Coming in Go 1.14 [slides] by jpgvm on Saturday October 05, 2019 @08:06AM (#21165058)
It's not quite that simple unfortunately. If you build a Go package with CGO enabled then Go builds the binary dynamically linked to the system libc. (this can be especially surprising if you believe go is "statically linked") However when CGO is disabled it doesn't link against libc at all as Go has it's own syscall layer etc.

It's not clear what this new -static flag will do, likely automatically setup some of the linker static flags when compiling with CGO to statically link other dependencies and perhaps libc itself.

Re:What's Coming in Go 1.14 [slides] by sdegutis on Saturday October 05, 2019 @10:35AM (#21165726)
> It's not quite that simple unfortunately.

This has been my experience with Go. First a promise of everything being much simpler than the alternatives. Then, when we run into all sorts of confusion and caveats, an unapologetic disclaimer about why it's not simple and can't be, with a long exposition about Go's own internal limitations and the trade-offs they had to make.

Re:What's Coming in Go 1.14 [slides] by Insanity on Saturday October 05, 2019 @11:05AM (#21165912)
From my experience Go is simpler than other langs where it can be, and at worst equally 'difficult' than the others. On average it's simpler.