Skip to main content

Apple Open Sources Swift, Loosens Grip On Interactive Programming Language

Apple’s interactive programming language,

Swift, has been made into an open source platform. The open source Swift Project, which launched today, announced that it is excited to work with the community to add enhancements, find and fix bugs, and introduce Swift to platforms beyond those using iOS, OSX and WatchOS.

Swift comprises a number of components. The Swift compiler project interprets Swift syntax, there's the LLDB project debugger, and the Swift standard library project includes everything you need to write code in Swift. Together, these components provide a complete ecosystem for developing software.

Now that Swift is an open source language, two additional projects have been released. The Swift Package Manager is being designed to help build and share Swift open source code rather than pre-compiled binary libraries. The Swift team said this project is in early development and will be designed and created using an open, collaborative process. The Swift team said an example of package repositories can be found at the Apple Github page.

The Swift core libraries have also been released. Swift said these are higher-level APIs than the standard Swift library that offer functionality such as localization, unit testing and user preferences. Swift said the core libraries are based on Foundation, libdispath and XCTEST frameworks and are designed to make it simple to use the same code across multiple platforms.

Swift has been used to introduce students to modern programming, and the Swift team believes that these skills will be of better use now that the language is open source. It will open up Swift-based applications to a wider range of devices and platforms.

Follow Kevin Carbotte @pumcypuhoy. Follow us on Facebook, Google+, RSS, Twitter and YouTube.

Kevin Carbotte is a Contributing Writer for Tom's Hardware US. He writes news and reviews of graphics cards and virtual reality hardware.
  • borisof007
    Apple and open source rarely go together in the same sentence, unless the words "isn't", "not", "aren't", are in there XD.

    With that said, I'm curious to see how this will play out long term. Lots of companies have created libraries and code for people to use that never catch on as well as they'd hoped. Groovy on Rails anyone?
    Reply
  • jasonelmore
    They only opened sourced it to Linux, and said no thanks when asked for a windows compiler
    Reply
  • toadhammer
    They only opened sourced it to Linux, and said no thanks when asked for a windows compiler
    Um, feel free to help make the Windows version of LLDB. The whole llvm-related suite is coming along nicely, but I don't think it's quite ready yet.
    Reply