Hacker News new | past | comments | ask | show | jobs | submit login

why doesn't t Go just uses "syscalls" in macos too?



> Go used to do raw system calls on macOS, and binaries were occasionally broken by kernel updates. Now Go uses libc on macOS, and binaries are forward compatible with future macOS versions just like any other C/C++/ObjC/swift program. OS X 10.10 (Yosemite) is the current minimum supported version.

also found a discussion - https://news.ycombinator.com/item?id=18439100 that points to why this might be the case


They tried but macOS doesn’t have any user<>kernel stable API so you have to rely on libsystem to provide it. (It broke very often so they changed it to use libsystem)




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

Search: