Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It doesn't abstract anything, if the syscall changes your "abstract a bit" will be broken all the same. On many if not most OS the machine code side of the syscalls can change with no notice, Windows has changed syscalls in minor revisions, Go broke several times during the Sierra beta due to syscall changes (because it handrolls gettimeofday(2) whose assembly calling convention changed).

The proper abstract interface on non-linux systems is the standard library.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: