News for hackers. Stuff that matters.
Re:Go 1.21 will (likely) have a static toolchain on Linux by pjmlp on Saturday April 08, 2023 @03:31AM (#35491350)
Most of all, convenience.

Not all OSes have libc per se, only those of UNIX/POSIX origin.

Secondly, on most UNIX environments, libc isn't the ISO C standard library, rather the full OS public API, static linking to it is possible (GNU libc being the exception due to how it is designed), however it limits what the binary would be able to call across OS versions if at all, e.g. the actual implementation semantics change.

Re:Go 1.21 will (likely) have a static toolchain on Linux by masklinn on Saturday April 08, 2023 @03:56AM (#35491471)
> static linking to it is possible (GNU libc being the exception due to how it is designed)

Apple does not ship a statically linkable libSystem (I don’t think they ever have), and openbsd is trying to move away from it to tie up origin verification.

Re:Go 1.21 will (likely) have a static toolchain on Linux by pjmlp on Saturday April 08, 2023 @04:30AM (#35491618)
Hence the "however..." part of my comment.

Also take into consideration all the other surviving commercial UNIXes, POSIX embedded OSes and POSIX environments for mainframes and micro-computers.