Chapter 4. Swift on the Server, and Swift on Linux
One of the most exciting aspects of the Swift project is that the language works on non-Apple platforms. You can download binaries of the latest version of Swift for Ubuntu 14.04 and Ubuntu 15.10 from the Swift project website and make use of them right away.
Various contributors to the Swift community are also working on support for Windows, as well as the potential beginnings of Android support. It’s an exciting time to be working with Swift!
Note
Swift for Windows isn’t nearly as ready for production use as Swift for Apple platforms or Swift for Linux. But, in time, we would expect it to reach parity with, at the very least, Swift on Linux. Ars Technica interviewed Apple’s SVP of Software Engineering, Craig Federighi, who reported that Windows support isn’t something that Apple and their Swift team wishes to take on directly, but that Apple thinks it possible that the development community would take it on.
To get the basics up and running on Linux, you can follow the Getting Started guide provided by the Swift project, but if you want to go a little deeper, we’re going to briefly touch on getting Swift set up for server-side development.
Swift on Linux
Swift on Linux offers a huge range of exciting possibilities, from running Swift-based web frameworks (as we’ll discuss shortly), to eventually building apps for Linux desktop, Raspberry Pi, or even Android.
In this section, we’ll take a quick look at the process of installing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access