I know that calling C functions via cgo is relatively expensive because of the goroutines, so there must be some optimizations/tricks to make all these libc calls fast.
On Saturday, May 4, 2019 at 12:21:27 AM UTC+2, ivan.m...@gmail.com wrote: > > Indeed, it works with Go 1.12. I have 3 different Go versions, and my > aliasing was messed up. Sorry. > > > No. The Linux kernel, fortunately, supports static linking and provides > a stable syscall API. There is no reason to make this change on GNU/Linux. > > Good to know, thanks. So Linux, BSD, Plan9 are now the only platforms > using raw syscalls. > > Last question: did performance drop after the switch? There must be > benchmarks. > -- 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. For more options, visit https://groups.google.com/d/optout.