Hacker News new | ask | show | jobs
by jamesy0ung 23 days ago
I noticed Golden Gate still ships with an x86_64 kernel (not kernelcache), I wonder if this is any useful

james@Jamess-MacBook-Pro ~ % sw_vers ProductName: macOS ProductVersion: 27.2.1 BuildVersion: 26B131 james@Jamess-MacBook-Pro ~ % file /System/Library/Kernels/kernel /System/Library/Kernels/kernel: Mach-O 64-bit executable x86_64 james@Jamess-MacBook-Pro ~ % strings /System/Library/Kernels/kernel | grep "Darwin" @(#)VERSION: Darwin Kernel Version 27.2.0: Wed Oct 14 23:40:09 PDT 2026; root:xnu-13432.41.4~25/RELEASE_X86_64 Darwin Kernel Version 27.2.0: Wed Oct 14 23:40:09 PDT 2026; root:xnu-13432.41.4~25/RELEASE_X86_64 Darwin

2 comments

This is fascinating. If x64 isn’t supported in Golden Gate why is this present?
Rosetta 2 is still supported, and the way Rosetta 2 works requires that various system components that x64 apps might depend on also be available in x64. x64 code that is running as arm64 translated by Rosetta 2 can’t call into native arm64 code due to ABI differences, so Rosetta 2 must translate the x64 version of system libraries as well.

My impression was that this did not require the kernel though, just system frameworks, so I don’t know why there’s a full x64 kernel in there!

Not saying this is the reason, but we build and test and release our software on platforms nobody uses, as it catches rare compiler / memory / UB bugs we otherwise wouldn’t have (eg win32 and FreeBSD)
Lots of people use FreeBSD :)
If only there were more! We're huge fans over here; it's just that our customers all run Linux or Windows servers, and occasionally Mac on the client side.

I ran FreeBSD on the desktop for a few years during college two decades ago, still miss the sanity of things and how everything is designed to work together.

Reminds me of how some of the dev versions of Snow Leopard still boot on PowerPC.