B
B
beduin012016-02-05 12:13:19
Swift
beduin01, 2016-02-05 12:13:19

Is it possible to write in swift under Windows or Linux?

Swift has been completely OpenSource for quite some time now. However, are there builds for Windows or Linux?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GunGraveKoga, 2017-06-08
@GunGraveKoga

You can https://github.com/tinysun212/swift-windows
Build according to the instructions, tested on Windows 7SP1 x86_64 + MSYS2-mingw-w64 Build
from the upstream-with-windows branch (the same for all clang, llvm, .etc dependencies)
The author has not yet compiled a release containing the Foundation modules and SwiftPackageManager, however, there is a MinGWCrt module that provides support for the standard C library (mingw-w64), it is also not difficult to make a module to support WinAPI
. So if you don’t need exactly the Swift that is used in Apple Xcode, but the language itself is interesting for learning, and you need enough support for C stdlib and other C libraries, then it’s quite suitable.

N
Nikita Khomitsevich, 2016-02-23
@Mlack

So far, there is only for Linux: https://swift.org/download/#latest-development-sna... Not
for windows (and, most likely, will not be).

G
gilfanov, 2018-01-30
@gilfanov

you can https://stackoverflow.com/questions/39034225/swift...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question