4 ms·
> I haven't studied Go. Your telling me every file is statically linked? How does it use the OS APIs? OS APIs are accessed through syscalls, you don't usually
by ominous_prime 11y ago
> I haven't studied Go. Your telling me every file is statically linked? How does it use the OS APIs?
OS APIs are accessed through syscalls, you don't usually need to link to anything.
The exceptions to static binaries have been to use the host resolver when necessary, the user db on linux, and looking up certificates on osx; none of which are directly available through syscalls.