On Thu, Aug 6, 2020 at 10:13 PM <emeg...@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 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXa1L1mqNDv0%2B%2BTX%2BrFb-sXh7n6Ua__6FQKiL4pdRPH-Q%40mail.gmail.com.