August 21, 2009
A 64-bit reality check
To the less technically-knowledgeable folks out there: Please stop asking for a 64-bit version of iTunes or DVD Player or Fireworks or whatever, blindly assuming that “number of bits” equals “goodness.” This is, of course, all coming up as Apple’s Mac OS X Snow Leopard release is due shortly. Let’s refer to Apple’s developer documentation on the subject:
From Apple’s MacOS X Technology Overview:
For many developers, however, compiling their code into 64-bit programs may not offer any inherent advantages. Unless your program needs more than 4 GB of addressable memory, supporting 64-bit pointers may only reduce the performance of your application.
Not convinced? Let’s try Apple’s 64-bit Transition Guide, “Common Misconceptions”:
Myth: My application will run much faster if it is a “native” 64-bit application.
Fact: Some 64-bit executables may run more slowly on 64-bit Intel architectures because of increased cache pressure.
On Intel-based Macintosh computers, you may see some performance improvement. The number of registers and the width of registers increases in 64-bit mode. Because of the increased number of registers, function call parameters can be passed in registers instead of on the stack. The increased register width makes certain performance optimizations possible in 64-bit mode that are not possible in 32-bit mode. These improvements will often (but not always) offset the performance impact caused by increased cache pressure.
It bums me out that I’ll be seen as “The 64-Bit Wet Blanket Guy,” especially when Adobe has been way out ahead of the pack on the Mac*, shipping the 64-bit-native Lightroom 2 for more than a year. I think 64-bit is great, and it can yield huge performance gains in Photoshop–sometimes 10x or more—when you’re using huge files that demand very large amounts of RAM (4+ GB). But I’m not willing to blow a bunch of smoke on the subject, nor do I like seeing developers–Apple, Adobe, or otherwise–get browbeaten due to ignorance.
By the way, someone will pop up momentarily to talk about how having access to more processor registers makes apps faster. That’s true in some cases (e.g. Apple touts that you can open PDFs 20% faster in 64-bit mode), but it’s not a big win for a highly tuned application like Photoshop. I’ve supplied more details about that in a separate post.
* Up until now (the release of Snow Leopard), who else is even shipping 64-bit Mac apps? My searches have turned up almost nothing.