3 ms·
At the end of the piece the author states: >"The Go runtime does not use libc, in most cases ..." Can someone say in which cases does the Go runtime elect to
by bogomipz 8y ago
At the end of the piece the author states:
>"The Go runtime does not use libc, in most cases ..."
Can someone say in which cases does the Go runtime elect to use libc?
- ecnahc515 8y agoIf and when/depends on some env vars and also compile time options. Basically it mostly uses libc for some network operations like hostname resolution, and a few other things like user/group resolution. However it defaults to the Pure go implementations by default for most things if possible.