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).

Another conference. “Great.”

This one’s different, trust us. Our new event for New York is focused on quality, not quantity.

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]

Read next: Facebook begins selling concert tickets directly on events pages

Shh. Here's some distraction

Comments