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

Samsung Electronics wants its employees to be more careful with their work. The

The year that has just begun will be the year of large screens and videos, the d

Last month, Microsoft expanded its Surface portfolio by launching the all-in-one

Apple has apologised to a customer it refused to give a refund to unless he coul

Global tech giant Samsung has expanded its range of Chrome OS powered laptops b

With the PS4 Pro hitting the shelves in less than 10 days, the age of iterative

South Korea's LG Display Co Ltd on Wednesday said it expects strong fourth-quart

Office 365 users will never have to worry about storage limits again. Microsoft

After Jan 1, 2017, new ATMs are likely to offer you the facility of authenticati

Software services major Tata Consultancy Services (TCS) has been ranked as the t