Re:LLVM 5.0.0 Release
by anonymousDan on Thursday September 07, 2017 @05:04PM
(#15195697)
Go
[ Parent
| on HN ]
Are you sure? I'm seeing reports that go sometimes wouldn't run with musl instead of GNU libc, with a runtime segfault[1]. That seems to depend on libc. Are you saying that Go's standard library primitives are not shims (or more complex structures) built on top of libc?
Re:LLVM 5.0.0 Release
by Matthias247 on Thursday September 07, 2017 @05:26PM
(#15195893)
Go uses libc optionally (for some things like DNS resolving). You can build Go programs which do not utilize libc by disabling cgo and building static binaries. By default the biggest part of Gos stdlib isn't based on libc, but some small parts are.