Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > 64bit Cocoa iTunes now available

64bit Cocoa iTunes now available
Thread Tools
lpkmckenna
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Jul 20, 2011, 01:31 PM
 
I never thought this day would come: 64bit Cocoa iTunes now available.

I don't know what benefits this is gonna bring to users, but I'm kinda amazed. I guess full-screen will be fun.
     
davidflas
Mac Elite
Join Date: Sep 2000
Location: Boynton Beach, Florida, USA
Status: Offline
Reply With Quote
Jul 20, 2011, 01:43 PM
 
I can't install it on the Mac Book Pro in my sig....
2.7Ghz 15" Mid 2012 MBP 16GB RAM 7.2k 750GB HD anti-glare display|64GB iPad4 ATT LTE|
     
lpkmckenna  (op)
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Jul 20, 2011, 02:06 PM
 
So I installed it, opened it, and they changed the look back: no more weird window without a titlebar, no more vertical window controls. And now I can't stand how it looks! Damn you Apple!!
     
Sealobo
Registered User
Join Date: Apr 2001
Location: The Intertube
Status: Offline
Reply With Quote
Jul 20, 2011, 02:08 PM
 
seriously... what has changed?
     
lpkmckenna  (op)
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Jul 20, 2011, 02:20 PM
 
Those are the only differences I see. Two minor visual tweaks. I don't have Lion, so if there are Lion-specific changes, I can't see them. Activity Monitor doesn't say it's 64bit, either.
     
subego
Clinically Insane
Join Date: Jun 2001
Location: Chicago, Bang! Bang!
Status: Offline
Reply With Quote
Jul 20, 2011, 02:23 PM
 
Originally Posted by lpkmckenna View Post
I never thought this day would come: 64bit Cocoa iTunes now available.

I don't know what benefits this is gonna bring to users, but I'm kinda amazed. I guess full-screen will be fun.
It'll be nice if you can full screen the visualizer without locking up the entire UI.
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 20, 2011, 02:51 PM
 
Originally Posted by lpkmckenna View Post
Those are the only differences I see. Two minor visual tweaks. I don't have Lion, so if there are Lion-specific changes, I can't see them. Activity Monitor doesn't say it's 64bit, either.
Activity Monitor says it's 64-bit on mine, and the find tool also reports the presence of an x86_64 binary. It's 64-bit.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
lpkmckenna  (op)
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Jul 20, 2011, 03:18 PM
 
Very strange. Are you using Lion?

EDIT: System Profiler says 64bit, but Activity Monitor does not.
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Jul 20, 2011, 03:34 PM
 
It's 64-bit, but I think it's time to stop saying Cocoa as opposed to Carbon. Actually, I think that that time was several years ago - the two have grown together.

lpmckenna: do you have any iTunes plugins installed, perhaps?
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Jul 20, 2011, 03:39 PM
 
64bit on Lion only, otherwise 32bit still.
Vandelay Industries
     
lpkmckenna  (op)
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Jul 20, 2011, 03:43 PM
 
No plug-ins. Oh well, not like this is affecting anything.
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 20, 2011, 04:02 PM
 
Originally Posted by P View Post
It's 64-bit, but I think it's time to stop saying Cocoa as opposed to Carbon. Actually, I think that that time was several years ago - the two have grown together.
The two always were linked to some extent — for example, Cocoa apps have long used Carbon menus behind the scenes, and it's always been possible to incorporate many of the Cocoa views in Carbon apps.

The distinction remains, though, because what makes an app Cocoa or Carbon is the run loop. Applications that call NSApplicationMain() are Cocoa apps, and apps that use RunApplicationEventLoop(), ReceiveNextEvent(), WaitNextEvent(), etc. are Carbon apps.
Originally Posted by lpkmckenna View Post
EDIT: System Profiler says 64bit, but Activity Monitor does not.
Upon looking at the Info.plist file, it looks like iTunes is set up so that the 64-bit binary will only run under Lion, and Snow Leopard and before still get the 32-bit binary.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
ShortcutToMoncton
Addicted to MacNN
Join Date: Sep 2000
Location: The Rock
Status: Offline
Reply With Quote
Jul 21, 2011, 06:23 AM
 
Huh. Still in Snow Leopard but scrolling is far smoother and more immediate on my largish (~180gig) library. Immediately noticeable. Sweet.
Mankind's only chance is to harness the power of stupid.
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 21, 2011, 12:32 PM
 
Originally Posted by CharlesS View Post
Upon looking at the Info.plist file, it looks like iTunes is set up so that the 64-bit binary will only run under Lion, and Snow Leopard and before still get the 32-bit binary.
What is the point of doing this?

Are there fixes to 64-bit Cocoa UI libraries (AFAIK, it's mostly the GUI that's been Cocoa-fied?) that are exclusive to Lion?
     
P
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status: Offline
Reply With Quote
Jul 21, 2011, 01:10 PM
 
Originally Posted by CharlesS View Post
The two always were linked to some extent — for example, Cocoa apps have long used Carbon menus behind the scenes, and it's always been possible to incorporate many of the Cocoa views in Carbon apps.

The distinction remains, though, because what makes an app Cocoa or Carbon is the run loop. Applications that call NSApplicationMain() are Cocoa apps, and apps that use RunApplicationEventLoop(), ReceiveNextEvent(), WaitNextEvent(), etc. are Carbon apps.
I guess using the event loop is one way to make a distinction, but it's really just a long scale. Also: Carbon can use two different event loops - the old OS 9-derived WaitNextEvent setup (based on a hack by Andy Hertzfeld from 1985, oh yes) and the newer Carbon Events (Page 15 of this document explains the difference, if anyone is interested). Carbon apps based on WaitNextEvent are the source of all the "Carbon bad" stigma that you still see every now and then. A Carbon app based on Carbon Events was much better, and in effect faster than Cocoa (because QuickDraw is STILL the fastest way to draw to the screen, and not even Apple seems to understand why)
The new Mac Pro has up to 30 MB of cache inside the processor itself. That's more than the HD in my first Mac. Somehow I'm still running out of space.
     
reader50
Administrator
Join Date: Jun 2000
Location: California
Status: Offline
Reply With Quote
Jul 21, 2011, 02:28 PM
 
Originally Posted by CharlesS View Post
Upon looking at the Info.plist file, it looks like iTunes is set up so that the 64-bit binary will only run under Lion, and Snow Leopard and before still get the 32-bit binary.
Has anyone tried a plist edit, to see if the 64-bit binary will run under earlier OSes?
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Jul 21, 2011, 02:42 PM
 
Just tried it and got a dialog saying 64bit needs 10.7.
Vandelay Industries
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 21, 2011, 02:42 PM
 
Originally Posted by Spheric Harlot View Post
What is the point of doing this?

Are there fixes to 64-bit Cocoa UI libraries (AFAIK, it's mostly the GUI that's been Cocoa-fied?) that are exclusive to Lion?
There are always changes to the system libraries and frameworks with every major OS X release, with plenty of new APIs and features added. There are actually very good reasons that they could be doing that, and Pacifist 3.0 (once I manage to get the thing finished) is actually going to be doing something very similar. Hacking the plist file to make the 64-bit binary run on Snow Leopard would very likely be ill-advised. And come on, can you really tell the difference between a 32-bit and a 64-bit app? I know I can't.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 21, 2011, 02:46 PM
 
Originally Posted by P View Post
I guess using the event loop is one way to make a distinction, but it's really just a long scale. Also: Carbon can use two different event loops - the old OS 9-derived WaitNextEvent setup (based on a hack by Andy Hertzfeld from 1985, oh yes) and the newer Carbon Events (Page 15 of this document explains the difference, if anyone is interested). Carbon apps based on WaitNextEvent are the source of all the "Carbon bad" stigma that you still see every now and then. A Carbon app based on Carbon Events was much better, and in effect faster than Cocoa (because QuickDraw is STILL the fastest way to draw to the screen, and not even Apple seems to understand why)
Yep, could have sworn I mentioned those different run loops in the post you were quoting there. I mentioned three, but there are actually four — if you count GetNextEvent, which I left out because it hasn't been best practice since at least System 6 or perhaps even earlier. The run loop is, and always has been, the distinction between a Cocoa and a Carbon app, though.

As for QuickDraw, not only is it not the fastest, but in fact it's not any way to draw to the screen at all these days. It was removed from the 64-bit versions of the frameworks back in 10.6 and is no longer usable.
( Last edited by CharlesS; Jul 21, 2011 at 02:55 PM. )

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 22, 2011, 07:40 AM
 
Originally Posted by CharlesS View Post
There are always changes to the system libraries and frameworks with every major OS X release, with plenty of new APIs and features added. There are actually very good reasons that they could be doing that, and Pacifist 3.0 (once I manage to get the thing finished) is actually going to be doing something very similar. Hacking the plist file to make the 64-bit binary run on Snow Leopard would very likely be ill-advised. And come on, can you really tell the difference between a 32-bit and a 64-bit app? I know I can't.
No, I can't (well, apart from something like Logic, where the difference in memory and plug-in handling is obvious and the switch is, naturally, a very welcome one).

That's why I asked - maintaining a separate 32-bit and a 64-bit build that apparently accesses different architecture must have benefits that offset the greater development effort involved. Otherwise, why bother at all?
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 22, 2011, 01:20 PM
 
It's not necessarily that great a development effort — without knowing exactly what they did, it's quite possible that they just surrounded some Lion-only features with #ifdef __LP64__ to keep them out of the 32-bit builds.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 22, 2011, 02:00 PM
 
But Why?
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 22, 2011, 02:18 PM
 
To keep things that need to be out of the Snow Leopard binary, out of the Snow Leopard binary.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 22, 2011, 02:58 PM
 
Such as what kind of things?

Sorry to keep harping — I'm trying to understand.
     
CharlesS
Posting Junkie
Join Date: Dec 2000
Status: Offline
Reply With Quote
Jul 22, 2011, 06:45 PM
 
Well, there's no way for me to know that, since I don't have the iTunes source code.

In my case, I'm doing something similar with Pacifist 3.0. Pacifist 3.0 is planned to run on everything from 10.4 on up, but I'm limiting the 64-bit version to run on Snow Leopard and higher. This way, I can use language features that were introduced in 10.5 (foreach loops) and 10.6 (blocks), as long as I restrict them to the 64-bit binary. This lets me put in little performance optimizations in the 64-bit version that wouldn't be possible if the binary had to work all the way back to 10.4. So, that's what I use it for. Unfortunately, I haven't done too much investigating to see what new language features are available in Lion, but it's possible that they could be writing some new Lion-specific code using ARC or something, making it incompatible with the old OS releases.

Another possibility is that they could be taking advantage of new features offered by the 64-bit runtime itself. There are a bunch of nice features that come from the non-fragile ivar layout in 64-bit land, which can make your coding a bit simpler and quicker. If they were including classes that were only relevant on 10.7, then it could make sense to do this.

Also, this is a real stretch, but since Lion is 64-bit only, and is thus guaranteed to be running the 64-bit version of the binary, Apple might be using ifdefs instead of version checks to separate out Lion-specific code. In theory, this would be slightly better for performance by eliminating all the version checks, and would reduce the size of the binary by a few bytes, but in practice the difference would be negligible. But who knows, they could be doing that.

This is all pulled out of my ass, though. To really know what they're doing, I'd need to have the source code, which I obviously don't.

Ticking sound coming from a .pkg package? Don't let the .bom go off! Inspect it first with Pacifist. Macworld - five mice!
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 22, 2011, 07:07 PM
 
Thanks for the details. That makes some sense to me.
     
Ham Sandwich
Guest
Status:
Reply With Quote
Aug 3, 2011, 02:19 PM
 
New version of iTunes still does not fix the buffering of radio streams. I'm on a 15 Mbps connection and every 5-20 minutes iTunes will lose a song, buffer it... but the progress bar won't even show up, and it won't buffer anymore. I have to keep restarting my streams.
     
lpkmckenna  (op)
Addicted to MacNN
Join Date: Jul 2004
Location: Toronto
Status: Offline
Reply With Quote
Aug 3, 2011, 11:47 PM
 
I read at Ars Technica today that iTunes no longer uses QuickTime for video playback, and now can't decode some kinds of videos. Has anyone experienced this issue?
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:55 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,