by ipostonthisacc · 13y ago · 0 comments
OS X was the first operating system to ship as a single
install that could boot into either a 32-bit or 64-bit
kernel, either of which could run 32-bit and 64-bit
applications at full native performance. OS X now
exclusively uses a 64-bit kernel, but it continues to run
both 32-bit and 64-bit applications.
I believe Solaris was actually the first to do this:http://en.wikipedia.org/wiki/Solaris_%28operating_system%29#...
I think Solaris (and Windows and Linux) require a 64 bit kernel to run 64 bit apps. Correct me if I'm wrong.
With that said, OS X's hack support for 64-bit applications on a 32-bit kernel certainly wasn't at the same performance level as a 64-bit kernel as they claim. It's a dubious achievement at best given the performance tradeoffs.
Apple lists a few benefits of K64 at https://developer.apple.com/library/mac/#documentation/MacOS... , specifically more efficient support for systems with lots of RAM, a larger buffer cache, and better support for multiple video cards with over 2 GB of RAM. These are pretty specialized, and I certainly don't remember my Mac getting a lot faster when it switched to K64. (I sure wish it had!)
OS X has had this ability since 64-bit PPC days.
Solaris has long had a single, unified architecture for 32-bit and 64-bit and until recently delivered both a 32-bit and 64-bit kernel on a single disk. That's why on Solaris you'll generally find the 32-bit libraries installed in 'usr/lib' and the 64-bit under 'usr/lib/64'.
The only exception is for processor architectures (SPARC/x86) where it made less sense.
But even then, Solaris 11 has multi-variant packages, so a single package provides support for both x86 and SPARC.
It's true that (as far as I'm aware) Solaris never supported the 64-bit application on 32-bit kernel hack that OS X did (which comes with significant performance tradeoffs).
So at most, Apple can claim that achievement, but they can't claim to be the first to provide a single install image supporting 32-bit and 64-bit.
It also is true that (as far as I am aware) Solaris never had lots of 32-bit customers running applications and drivers that neither Sun nor those customers could recompile for 64-bits.
That and the fact that some of those customers desperately wanted/needed to access more than 4 GB of memory forced Apple's hands. They had to keep the kernel 32 bits to support older drivers, and had to provide a user space that supported more than 32 bits.
The world is so much simpler if you can force al your customers to recompile their applications. If you doubt that, ask Microsoft or Intel why Itanium didn't even get a chance.