Ditching Intel in favor of in-house chips is a big move, but Apple has already built tools to make the transition easier.
Apple’s Worldwide Developers Conference (WWDC) 2020 has kicked off with a bevy of announcements, none larger than the news it’s ditching Intel chips in favor of its own new architecture called Apple silicon. Apple silicon is an extension of the Arm-based chips used in the iPhone, iPad, and Apple Watch and finally brings Macs, the last component of Apple’s hardware ecosystem, under the same design umbrella.
“This will also create a common architecture across all Apple products, making it far easier for developers to write and optimize software for the entire Apple ecosystem,” Apple said in a press release.
But what about developers—surely they’ll feel a pinch from the change as the architecture behind Apple silicon is different from Intel’s? Luckily, Apple has thought of that and the latest versions of Xcode, 12, and macOS, Big Sur, will make the transition mostly invisible for those used to developing for Intel-based Macs.
How Apple plans to transition
There’s a fundamental difference between Apple silicon and Intel chips that means software built to run on one of them won’t run on the other without some form of cross-compatibility app. That’s why iOS and iPad and iPhone apps don’t run natively on macOS (because Macs use Intel), and why lots of Chromebooks can run Android apps natively (because many use Arm chips).
Apple is planning a two-year transition period to Apple silicon, during which time it plans to continue to produce Intel-based Macs, update Intel-based operating systems, and support Intel machines.
SEE: 10 ways to prevent developer burnout (free PDF) (TechRepublic)
To avoid making millions of Macs obsolete at once Apple needs to support both Intel and Apple silicon, which it plans to do with familiar tools. Universal 2 will make updated apps automatically support both chipsets, and Rosetta 2 will allow nonupdated apps to run in Apple silicon environments.
The process of updating apps to run on Apple silicon will be simple if it works properly: Xcode 12 is “universal app ready,” according to Apple.
“When you open your project in Xcode 12, your app is automatically updated to produce release builds and archives as Universal apps,” Apple said. The process happens behind the scenes, with Xcode producing binary “slices” for both Intel and Apple silicon before recompiling them into a single app package for uploading to the Mac App Store.
Apple said that most developers will be able to get their apps running on Apple silicon in a matter of days. Ideally, minimal troubleshooting will be required, but Xcode 12 has all of the necessary bug hunting tools baked right in.
Devs: Don’t worry about what lies beneath
Transitioning from Intel to Apple silicon is a lot like building a hose with two different types of materials: Wood or steel. Apple, the framers, are taking care of the skeleton, while developers are putting in the plumbing, hanging the drywall, and making the house livable.
If things are done right, the material used to frame the house doesn’t matter to the plumber, drywaller, painter, roofer, or resident: It all ends up looking the same once things are finished.
Members of the Apple Developer Program can get a jump start on the transition by applying for the Universal App Quick Start Program, which gives access to beta forums, an early version of Big Sur, a Mac Mini with all the tools needed to build and recompile apps for Apple silicon, and Universal app support from Apple.
Developer Essentials Newsletter
From the hottest programming languages to the jobs with the highest salaries, get the developer news and tips you need to know.
- Listen to TechRepublic’s Dynamic Developer podcast (TechRepublic)
- How to become a developer: A cheat sheet (TechRepublic)
- 5 developer interview horror stories (free PDF) (TechRepublic)
- Hiring Kit: .Net developer (TechRepublic Premium)
- Programming languages: Developers reveal most loved, most loathed, what pays best (ZDNet)
- It takes work to keep your data private online. These apps can help (CNET)
- Programming languages and developer career resources (TechRepublic on Flipboard)