Re: Is it useful to make a 64 bit app? [Was]: How can users check if their mac is 64-bit-capable?
Re: Is it useful to make a 64 bit app? [Was]: How can users check if their mac is 64-bit-capable?
- Subject: Re: Is it useful to make a 64 bit app? [Was]: How can users check if their mac is 64-bit-capable?
- From: Sherm Pendley <email@hidden>
- Date: Thu, 11 Dec 2008 14:51:21 -0500
On Dec 11, 2008, at 2:16 PM, Gustavo Pizano wrote:
In an apple doc I read that mos of leopard app doesn't need to
convert to 64 bit architecture, but later on the document its says
something like, that in the future the apps should take advantage
of the new 64 bit api and frameworks, or that what I understood, so,
I was wondering, if Im starting a new app (small one), should I
build it for a 64 bit architecture or no?
I wouldn't want to build *exclusively* for 64-bit at this point -
there's still a lot of 1st-generation Core Macs out there, and even
some G4s, as well as some machines running Tiger. So IMHO it seems a
little premature to go 32-bit only.
That said, it's not an all-or-nothing proposal. Universal binaries can
include both 32- and 64-bit binaries. For a smooth transition, you
could start supporting 64-bit right now, without necessarily having to
require it. Eventually, the time will come when it's appropriate to
drop support for 32-bit machines and OS versions.
, if so what should I take care of?, instead of using int use
NSInteger or NSUInteger, alos instead of float use CGFloat, take
care of the way I encode and decode ? I guess im missing lots, and
what else should I change the build target to be 64 bit architecture?
any guidance?
As usual, Apple's own docs are a good place to start:
<http://developer.apple.com/DOCUMENTATION/Darwin/Conceptual/64bitPorting/intro/chapter_1_section_1.html
>
or should I just "let it be, let it be"
Great song. :-)
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden