Apple's Swift goes open source

Apple made a crucial move by announcing that later this year, the Swift programming language would be available under an open source license ? to the rejoicing of Apple developers everywhere. Apple's Swift has seen huge uptake by developers in the year it's been available, thanks to its early reputation for being easier to write than Objective C, the original language for creating iOS apps. It also results in faster-running apps. The idea of "open source" is incredibly important to software developers, because it means that they can understand how the technology works under the hood, down to every line of code, then make their own improvements that they can submit to potentially get included in the main project. It gives a single developer the chance to make a huge impact on a popular piece of software.
That's why announcement got the loudest cheers at today's WWDC keynote, beating out a new iOS, a new Mac OS X, and Apple's new music streaming service. I love that the WWDC announcement that got the most cheering and applause was the announcement that Swift is going open source
Right now, on Reddit's 267,257-strong Apple subreddit community, the announcement that Swift would be open source is the number-one most upvoted thread, ahead of every other piece of Apple news.
Just look at this Reddit comment thread and see just one example of how happy developers are:
The reason for that excitement?
While a lot of early adopters in the Apple app-developer world have had some success with Swift, "open source is table stakes for consideration" for most developers, says Stephen O'Grady, an analyst with developer research firm RedMonk. Because anybody can participate in making an open source project better, they can attract communities in the thousands dedicated to making that software better.
For Swift, which still has a long way to go before it can be considered fully featured and ready to replace its decades-old forebears like Objective-C, that can make all the difference in the world. Plus, it means that developers can repurpose the programming language to do whatever they want with it. Before, developers were limited to using Swift to make apps for iOS and Mac OS X. "We think it would be amazing for Swift to be on all your favorite platforms," Apple says in a blog post announcing Swift 2.0. Apple also says "contributions from the community will be accepted ? and encouraged." Now, developers can take the source code and potentially use it for things like writing web apps that run in the browser ? which would actually put it head-to-head with Google's Go programming language, which has been open source since 2009.
"Swift going open source will remove an important obstacle for some subset of potential Apple developers," says O'Grady. How open is open? There are still a few questions, though. A successful open source community, like the kind Apple is trying to make with Swift, doesn't just happen. Like any other community, there need to be carefully enforced rules and procedures for decision-making, or else mere anarchy is loosed on the world. Apple simply can't integrate every line of code suggested by its community into Swift. But the question of which code it does accept from the community of dedicated Swift fans is going to have a huge impact on the future of the language. Too much, and Swift could start to lose its focus. Too little, and Swift developers will feel left out and take their talents elsewhere. "There are also questions about how much control Apple will cede to the broader community. Success will hinge on whether people feel they can influence the direction of the language and tools," says Jonathan Karon, Senior Manager of Mobile Engineering at New Relic, a company that makes software to help developers monitor and maintain their apps. For instance, Google's Android is indeed released as open source.
But the final versions, the versions that are released to handset manufacturers, with all the cool new features? Those are all Google. Developers can take that and do what they want with it, but their changes very rarely make it back upstream to Google.

Related posts

Latest News

LG has launched a new smartphone - X Power, in India. Part of the company's X li

Micromax has unveiled a new voice-calling tablet in India, the Canvas Tab P681.

Xiaomi has expanded its smartphone line-up in India with the launch of the Mi Ma

Major internet services including Twitter, Spotify and Amazon suffered service i

Chinese mobile manufacturer Oppo seems set to launch its new smartphone - Oppo R

Apple has updated its 12-inch MacBook line of laptops with faster processors, Re

Sony has launched the new KD-65Z9D 4K HDR TV in India, with a price tag of Rs. 5

Trace of a Nexus 8 recently popped up when a mysterious "flounder" device was sp

ASUS today launched its flagship ROG GL552JX, a gaming laptop encasing macular h

Chinese smartphone maker OnePlus is merging its global Oxygen OS and Chinese Hyd