Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > News > Mac News > Apple open-sources Swift programming language

Apple open-sources Swift programming language
Thread Tools
NewsPoster
MacNN Staff
Join Date: Jul 2012
Status: Offline
Reply With Quote
Dec 3, 2015, 12:59 PM
 
Fulfilling a promise it made last spring, Apple has posted source code for the core libraries, parts of Foundation, and the raw language compiler for Swift, the company's development language -- including some features planned for the future Swift 3, but published now to gain feedback and assist in development. The move enables a number of new use cases for the language, which is deeply integrated into the company's Xcode IDE.

The change will open the language up for peer review and improvement from outside Apple, as well as the possibility of creating apps outside the Xcode environment, theoretically eliminating the need to use Macs to do iOS development, or allowing developers to run the language on a server, for example. The codebase is now hosted on a GitHub repository, and even includes some components from Apple's proprietary AppKit and UIKit, such as threading and networking features, that are planned for the unannounced but forthcoming Swift 3, which will likely be introduced at next June's Worldwide Developer Conference.



Because Swift is backwards-compatible with Objective-C and C functions, the move to open source will also give a boost to the language's future, by allowing developers to continue development should Apple ever move away from it. Many frameworks, such as the aforementioned UIKit, remain bound to Mac and iOS development, but portions of the code that are native or exclusive to Apple's own products were expected to remain proprietary, and do not affect the open-sourcing of the language as a whole.

Although Apple will have no control over it, in publishing the libraries and code for the language, Apple has asked that developers contribute "small, incremental improvements" rather than wholesale or sweeping changes to the project. Documentation and guidelines for use of the code can be found on the Swift.org site.
( Last edited by NewsPoster; Dec 3, 2015 at 05:38 PM. )
     
Doodpants
Fresh-Faced Recruit
Join Date: Feb 2011
Status: Offline
Reply With Quote
Dec 3, 2015, 01:46 PM
 
swift.org seems to be down now, presumably due to excessive traffic.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:15 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,