BT

64 Bit Support for iOS Mandatory From February 2015: Benefits and Hindrances

| by Sergio De Simone Follow 14 Followers on Nov 11, 2014. Estimated reading time: 1 minute |

Apple announced that, as of February 1 2015, all App Store submissions will be required to include 64-bit support and to be built with the iOS 8 SDK. The new requirement will only apply to new submissions, that is new apps and updates to existing apps.

Apple introduced a 64-bit architecture with the Apple A7 chip on the iPhone 5s last year. Earlier this year, Apple introduced a new A8 variant of the 64 bit ARMv8 architecture in the iPhone 6 and 6 Plus, and a more-powerful A8X in the iPad Air 2.

According to ArsTechnica, "an Apple A7 can run 64-bit code up to 30 percent faster than it runs 32-bit code. An A8 can be as much as 40 percent faster." Another advantage should come into effect when all the apps running on a device will run in 64 bit mode: in this case, then, it will not be necessary to load both 32 bit and 64 bit versions of the SDK frameworks, thus reducing overall memory usage.

Yet, as of October 2014, many well known apps such as Twitter, Facebook, and Instagram, had no 64 bit support, as ArsTechnica reported.

In the general case, the only required step to enable 64-bit support is "using the default Xcode build setting of 'Standard architectures' to build a single binary with both 32-bit and 64-bit code," says Apple.

Nevertheless, only code that is written according to certain rules will compile seamlessly for 64 bit. Apple provided a 64 bit transition guide that lists dangerous programming behaviours such as casting pointers to integers, converting NSInteger and CGFloat to C intrinsic types, assuming 32 bit alignment in data structures, and many more.

Furthermore, the transition to 64 bit could entail some headaches for developers using older versions of 3rd-party frameworks that might only get 64 bit support if they move to a later version of that framework, what could not always be possible or desired.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT