Apple Swift Programming Language Is Now Open Source - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT
IoT
Mobile // Mobile Devices
News
12/4/2015
08:06 AM
Connect Directly
LinkedIn
Twitter
RSS
E-Mail
50%
50%

Apple Swift Programming Language Is Now Open Source

Swift is the programming language for Apple software going forward. And with its release under the open source Apache 2.0 license, it becomes a potential vehicle for crafting applications that run on Android, Linux, Windows, and other operating systems.

10 Hot Smartwatches, Fitness Trackers For Your Holiday Gift List
10 Hot Smartwatches, Fitness Trackers For Your Holiday Gift List
(Click image for larger view and slideshow.)

Fulfilling a promise that thrilled Apple developers earlier this year, Apple on Thursday released the Swift programming language under the open source Apache 2.0 license.

Swift is a modern systems programming language that's friendlier to inexperienced programmers than Objective-C, Apple's previous language of choice. It's more readable than Objective-C and it supports a variety of features that lead to better quality code, including strong typing, safe memory management, and implicit namespaces (to prevent name collisions). It is, as Apple has indicated, the programming language for Apple software going forward. And now it has become a potential vehicle for crafting applications that run on Android, Linux, Windows, and other operating systems.

Apple's Swift team released versions of Swift that run on OS X and Linux systems. Those with the appropriate technical skills are free to create versions that run on other platforms.

[ Learn more about Swift. Read Apple's Swift Programming Language: 10 Fascinating Facts.]

At the time Apple announced its intent to open source Swift, there was concern that the license would be insufficiently permissive. But the developer community appears to be pleased with Apple's choice and with the inclusion of a Runtime Library Exception, which allows the compilation of libraries under different licenses.

Apple's Swift team marked the occasion by noting in a blog post that now everyone can help contribute to the improvement of Swift and can make it relevant for a broader range of platforms and applications.

(Image: Thomas Claburn)

(Image: Thomas Claburn)

Al Hilwa, program director for software development research at IDC, said in an email that Swift's release as open source software is a big deal.

"The context here is the battle for mobile programming languages and mobile runtimes," said Hilwa. "Over time, the industry benefits from consolidation around a few strongly adopted languages because it allows better labor mobility across companies and projects. Android got a lot of traction early on leveraging Java. We have seen Microsoft open source its C# stack to broaden the appeal and Apple is essentially on the same trajectory. In the long run, developers will have multiple language options for developing cross-platform native apps so they can better leverage their skills."

Swift presently consists of four distinct projects:

  • The Swift compiler and standard library;
  • The Package Manager;
  • The Core Libraries; and
  • The REPL and Debugger (LLDB).

In a post on Hacker News, Patrick Walton, staff research engineer at Mozilla, welcomed the inclusion of a Package Manager to facilitate the building and sharing of code. "It's really great to see Apple investing in package management for Swift," he wrote. "Handling dependencies and versioning well is so important for a language to get right out of the gate."

Swift has already been accepted by Microsoft, which in February touted RemObjects Software's Silver, a compiler that allows Swift code to be run against .NET, Java, Android, and Cocoa APIs. Google may be less enthusiastic because support for Swift could limit adoption of its Go programming language, though each has its strengths. Regardless, now that Swift belongs to everyone, its future looks bright.

**New deadline of Dec. 18, 2015** Be a part of the prestigious InformationWeek Elite 100! Time is running out to submit your company's application by Dec. 18, 2015. Go to our 2016 registration page: InformationWeek's Elite 100 list for 2016.

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful ... View Full Bio

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
Slideshows
11 Things IT Professionals Wish They Knew Earlier in Their Careers
Lisa Morgan, Freelance Writer,  4/6/2021
News
Time to Shift Your Job Search Out of Neutral
Jessica Davis, Senior Editor, Enterprise Apps,  3/31/2021
Commentary
Does Identity Hinder Hybrid-Cloud and Multi-Cloud Adoption?
Joao-Pierre S. Ruth, Senior Writer,  4/1/2021
White Papers
Register for InformationWeek Newsletters
Video
Current Issue
Successful Strategies for Digital Transformation
Download this report to learn about the latest technologies and best practices or ensuring a successful transition from outdated business transformation tactics.
Slideshows
Flash Poll