3 ms·
> C should have never ben part of Go to begin with It’s unavoidable on most platforms. Linux is pretty much the only mainstream platform where the syscall inte
by messe 4y ago
> C should have never ben part of Go to begin with
It’s unavoidable on most platforms. Linux is pretty much the only mainstream platform where the syscall interface is considered the stable interface between user and kernel. Other platforms (like macOS, *BSD, and Windows) consider libc (or equivalent in Win32) to be the stable interface.
- mananaysiempre 4y agoWin32 in particular is known for guzzling KBs of stack before getting around to making an actual syscall, so you wouldn’t be able to avoid trampolining through an ABI-compatible environment anyway.