4 ms·
How do you handle changes to the kernel? Can your binaries run on any macOS version or only the very latest? This sounds really cool but also super dangerous. A
by matthewbauer 8y ago
How do you handle changes to the kernel? Can your binaries run on any macOS version or only the very latest? This sounds really cool but also super dangerous. Apple is not known for providing a stable ABI :)
- 4ad 8y agoYou got it backwards, 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.
- matthewbauer 8y agoOk nice! In many ways it would be cool if apple had a stable interface for XNU like we do in Linux.
- int_19h 8y agoUnfortunately, Go still insists on using syscalls on the BSDs, despite them not being a stable (between major releases) API there either. I hope they're planning to fix that...