Skip to main content

Apple open sources Swift to draw interest and developers

Apple has delivered on its promise to make its Swift programming language open source by offering it under the Apache License. The Swift team has gone ahead and uploaded the source code for the Swift compiler along with the standard library functions and objects.

This move could cause a big boost in popularity for Apple's programming language as it will enable Swift to expand beyond iOS and Mac OS X. Developers now have the freedom to use Swift on a variety of different platforms including Windows. Hopefully this will encourage the developer community to embrace Apple's programming language and to help improve it.

It will be interesting to see the way in which Apple handles its transition from a proprietary programming language to an open source one. Developers may want to make big changes to Swift which could lead to disagreements with Apple. On Swift's website, the team behind the programming language states that they prefer small incremental improvements.

Developers were quite surprised when Apple decided to release parts of the Swift Foundation in addition to the code for the raw language compiler and standard library. The AppKit and UIKit framework will continue being exclusive to Mac and iOS app development though. The core libraries made available do contain a few key components from both of these frameworks including a networking stack, threading and common data types.

Swift's source code is being hosted on a GitHub repository and many of the features Apple is including alongside it are planned features for Swift 3.0.

Image source: Shutterstock/ (opens in new tab)McIek (opens in new tab)

After getting his start at ITProPortal and then working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches to how to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home.