3 ms·
> it dynamically links against 4 libraries (on OS X, anyway) while the Go version links against zero. And how exactly does that work out on platforms that don'
by dom0 10y ago
> it dynamically links against 4 libraries (on OS X, anyway) while the Go version links against zero.
And how exactly does that work out on platforms that don't have stable syscalls?
- pcwalton 10y agoOn 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.