On Thu, Aug 6, 2020 at 10:13 PM <
eme...@gmail.com> wrote:
>
> I read somewhere (Very sorry I couldn't get the link now) that golang uses libc to implement syscalls when the code is built in c-shared mode. I want to check if this true.
When writing to this mailing list, please always send code as plain
text or as a link to the Go playground or some other web site. Please
don't send white on black text as it is difficult to read in many
e-mail readers. Thanks.
When using the standard Go compiler, system calls are made in the same
way whether the code is built as -buildmode=c-shared or not. You
didn't mention what platform you are using, but, for example, on
GNU/Linux Go code does not use libc for syscalls, neither for a normal
executable nor for a -buildmode=c-shared shared library.
Ian