2 ms·
Interactions with the OS are managed by the go runtime, and on Linux it does direct syscalls (except when it tries to use vdso). Every program needs to do sysc
by masklinn 4y ago
Interactions with the OS are managed by the go runtime, and on Linux it does direct syscalls (except when it tries to use vdso).
Every program needs to do syscalls at some point, so that’s built in. It is not “in fact worse”.
- pkolaczk 4y agoThat applies only to the stuff exposed by the go stdlib, which is the lowest common denominator between various systems. Databases often use many system specific, advanced calls, to gain more control.