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.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Kevin Carbotte is a contributing writer for Tom's Hardware who primarily covers VR and AR hardware. He has been writing for us for more than four years.
Ryzen 7 9800X3D is selling like hotcakes at major German retailer — Mindfactory sold 8,700 CPUs in a single day
Intel Bartlett Lake CPUs power new 120 x 160mm COM-HPC modules from congatec — features up to 24 hybrid cores, 128GB of DDR5-4000 memory, and 32 EUs
Redditor allegedly purchased two Intel Arc B570 GPUs at Micro Center days before the official launch — the CPU couldn't recognize the GPUs due to the lack of driver support
-
borisof007 Apple and open source rarely go together in the same sentence, unless the words "isn't", "not", "aren't", are in there XD.Reply
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? -
jasonelmore They only opened sourced it to Linux, and said no thanks when asked for a windows compilerReply -
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.