Apple on Monday announced that it would make its popular new Swift programming language open source, releasing the language and toolchains for iOS, OS X, and Linux.
Apple software chief Craig Federighi made the announcement during Monday's keynote at the company's annual Worldwide Developers Conference. It remains unclear how Apple will govern Swift development in the new open source model — Â whether it will tend more toward the Darwin source or WebKit models — though more details are likely to emerge as the release nears.
At the same time, Federighi announced Swift 2, with numerous new features. Developers will be able to use Markdown in comments, pattern matching in "if," and synthesized "headers" in Xcode alongside other improvements like a faster runtime and shorter compile times.
Swift has grown extremely popular since its release one year ago, with thousands of App Store apps taking advantage of the new language. In April, it took the crown as the most-loved language among developers — some 78 percent of programmers currently working with Swift said they were eager to continue developing with it.
Swift 2 will be included in the iOS 9 beta, which will be available to registered developers later today.
73 Comments
Holy Cow..iOS copies Android now. /s
Microsoft is working on their own Swift compiler for Visual Studio, so I expect it will come to Windows but not right away.
Just in time.
Now when Oracle puts the ban hammer on Java in Android (forcing Google to make Android Java compatible with Java and causing a huge problem for developers), they'll now have an alternative they can switch to.
Oh the irony if Android software was written using a language that Apple pioneered. I'm sure blood vessels would burst in countless haters brains.
As a developer, I am creaming my pants!
Now when Oracle puts the ban hammer on Java in Android (forcing Google to make Android Java compatible with Java and causing a huge problem for developers), they'll now have an alternative they can switch to.
Google Go is older and and has much more cross-platform support at this point. Otherwise, they'd make their own language. Google loves developing nerdy backend stuff as much as Apple likes selling things. Swift is fundamentally designed to remain compatible with ObjC, Google would make something compatible with Java.