Early bird prices are coming to an end soon... ⏰ Grab your tickets before January 17

This article was published on December 3, 2015

Apple has big plans for Swift 3.0 and beyond, including API changes and working with C++


Apple has big plans for Swift 3.0 and beyond, including API changes and working with C++

While developers are having fun digging into Swift as an open source language, we can also start looking forward. In releasing Swift 2.0 to the community, Apple is also tipping its hand about Swift 3.0.

A GitHub repo dubbed ‘Swift Evolution’ gives a lot of insight about the direction Swift is heading. First point of interest is that Apple isn’t expecting to release Swift 3.0 until the Fall of 2016 — not at WWDC (unless Apple moves the date of their annual developers conference from Spring to the Fall).

But it might be worth the wait. Apple claims APIs will lose the ’NS’ prefix to make them more streamlined and usable across platforms — another interesting notation.

NSAPITNW

According to Apple, it will “make Swift available on other platforms and ensure that one can write portable Swift code that works properly on all of those platforms.” It’s already available for Linux, but Apple doesn’t note what other platforms Swift may arrive at.

Generics are also improving. Apple writes that Swift 3.0 will have generic features for its standard library, a needed change as Apple is working to stabilize the ABI.

Not included in Swift 3.0 — but still on the longer roadmap — are full source compatibility and concurrency. Apple also wants to make Swift fully interoperable with C++ libraries, but writes “C++ itself is a very complex language, and providing good interoperability with C++ is a significant undertaking that is out of scope for Swift 3.0.”

Swift Evolution [GitHub]

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with