Re:Hooking Go from Rust
by ithrow on Friday August 26, 2022 @03:50PM
(#32611956)
why doesn't t Go just uses "syscalls" in macos too?
[ Parent
| on HN ]
Re:Hooking Go from Rust
by infiniteregrets on Friday August 26, 2022 @04:01PM
(#32612081)
> 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