4 ms·
On Mac, Go breaks the rules and hardcodes syscall numbers anyway. On Windows, Go dynamically links to kernel32.dll and friends.
by pcwalton 10y ago
On Mac, Go breaks the rules and hardcodes syscall numbers anyway.
On Windows, Go dynamically links to kernel32.dll and friends.
- penpapersw 10y agoSo in theory Go programs can't be considered reliable across multiple versions of macOS without recompilation then?
- coldtea 10y agoIt only matters if it also happens in practice.
- favorited 10y agoIt does happen in practice: https://github.com/golang/go/issues/16272 https://github.com/golang/go/issues/16272
- pcwalton 10y agoAll forwards-compatibility issues were only "theoretical" issues that didn't "matter in practice" until a new release of the platform came out and suddenly they did.