Swift Language Tools Available For Windows 10, Download Now!

The Swift Project on Tuesday announced new downloadable Swift toolchain images for Windows 10. These images contain development components needed to build and run the Swift code on Windows.ย 

For those unaware, Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc., first released in 2014.

Initially a proprietary language, Swift was made open-source software under the Apache License 2.0 on December 3, 2015, for Apple’s platforms and Linux.

โ€œPorting Swift to Windows is not about simply porting the compiler, but rather ensuring that the full ecosystem is available on the platform. This includes the compiler, the standard library, and the core libraries (dispatch, Foundation, XCTest). These libraries are part of what enables developers to write powerful applications with ease and without having to worry about many of the details of the underlying system,โ€ Saleem Abdulrasool, Swift Core Team member and software engineer at Google Brain, wrote in the blog post.ย 

With these core libraries and the flexible interoperability of Swift with C, it is possible to develop applications on Windows purely in Swift while taking advantage of the existing corpus of libraries on the Windows platforms.

The blog post goes on to demonstrate a basic calculator app that was written entirely in Swift. This project was built using the Swift toolchain on Windows, as well as installation of Visual Studio 2019.

Although the demo application is built with CMake, Swift Package Manager support on Windows is coming soon, Abdulrasool notes.

โ€œAdding support for Windows to Swift is the beginning of a journey. The current support sets the first milestone where the language is usable. There is yet another even broader part of the ecosystem like lldb and the Swift Package Manager which still need more work to be as complete in their support for this different platform,โ€ he adds.

You can download theย Swift toolchain for Windowsย from the Swift Project website.

For information about how to use Swift on Windows, you can go to theย Getting Startedย section. For the early adopters who are getting started and finding issues, you can report them to theย Swift Bug Tracker.

Kavita Iyer
Kavita Iyerhttps://www.techworm.net
An individual, optimist, homemaker, foodie, a die hard cricket fan and most importantly one who believes in Being Human!!!

Read More

Suggested Post