logoalt Hacker News

matheusmoreira11/07/20241 replyview on HN

Linux is the only one that is not like this. I wrote an article about the subject:

https://www.matheusmoreira.com/articles/linux-system-calls


Replies

vetinari11/08/2024

While Linux does have stable syscall interface, unlike other OS-es, you still want to go through glibc. At least for NSS, otherwise your app could be broken.

Golang has CGO_ENABLED=1 as the default for this reason.