With the release of swift 3.0 being avaliable for Mac OS and Windows, does this mean you can compile and run swift code on windows? If so what compiler do you use for windows?
随着适用于Mac OS和Windows的swift 3.0的发布,这是否意味着您可以在Windows上编译和运行swift代码?如果是这样,你使用什么编译器的Windows?
5 个解决方案
#1
3
Swift for Windows now available on Microsoft Codeplex.
https://swiftforwindows.codeplex.com/
现在可以在Microsoft Codeplex上使用Swift for Windows。 https://swiftforwindows.codeplex.com/
System Requirement - Visual C++ Redistributable for Visual Studio 2015.
系统要求 - Visual Studio 2015的Visual C ++ Redistributable。
#2
0
As far as I know: Swift is available for linux and you can expect swift for Windows, Android soon in the future.
据我所知:Swift适用于Linux,未来很快你就可以期待很快适用于Windows,Android。
If you want to use Swift language on windows, you must be rely on web based platform. For example: http://swiftstub.com , http://www.runswiftlang.com , etc.
如果要在Windows上使用Swift语言,则必须依赖基于Web的平台。例如:http://swiftstub.com,http://www.runswiftlang.com等。
Silver runs on Windows and allows you to compile Swift code to Java and .NET.
Silver在Windows上运行,允许您将Swift代码编译为Java和.NET。
#3
0
Since Swift got open sourced, many more platforms were supported by Swift.
由于Swift开源,Swift支持更多平台。
Linux was added shortly after it was open sourced, and just recently, the Android support for Swift was merged into the master branch.
Linux在开源后不久就被添加了,就在最近,Android对Swift的支持被合并到了主分支中。
You can track the progress of porting Swift to Windows here. As you might see, it's not currently being worked on actively by the Swift team, there is, however, a community port on Github trying to port Swift to Windows.
您可以在此处跟踪将Swift移植到Windows的进度。正如您可能看到的那样,Swift团队目前尚未积极开展工作,但Github上有一个社区端口试图将Swift移植到Windows。
#4
0
You say:
With the release of swift 3.0 being avaliable for Mac OS and Windows
随着适用于Mac OS和Windows的swift 3.0的发布
But this hasn't been announced officially.
但这还没有正式宣布。
There's some projects, but nothing from Apple... yet.
有一些项目,但苹果公司还没有。
And anyway, the site where you read this:
无论如何,你读到这个网站:
is not about Apple's Swift, it's an entirely different project with, unfortunately, the same name.
不是Apple的Swift,它是一个完全不同的项目,不幸的是,同名。
#5
0
It is possible to write, build and run Swift code on Windows. With "Siver" and "Elements".
可以在Windows上编写,构建和运行Swift代码。用“Siver”和“Elements”。
Silver is a free implementation of Apple's Swift programming language. With Silver, you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs.
Silver是Apple的Swift编程语言的免费实现。使用Silver,您可以使用Swift直接针对.NET,Java,Android和Cocoa API编写代码。
Elements is a compiler and development tool chain for Oxygene, C# and Swift which targets the .NET runtime, Java/Android virtual machines. Elements is developed by RemObjects Software (https://en.wikipedia.org/wiki/RemObjects_Software).
Elements是Oxygene,C#和Swift的编译器和开发工具链,它以.NET运行时Java / Android虚拟机为目标。 Elements由RemObjects Software(https://en.wikipedia.org/wiki/RemObjects_Software)开发。
HelloWorld.exe example here: https://github.com/alexbaban/Swift/blob/master/Building%20Swift%20Code%20On%20Windows.md
HelloWorld.exe示例:https://github.com/alexbaban/Swift/blob/master/Building%20Swift%20Code%20On%20Windows.md
#1
3
Swift for Windows now available on Microsoft Codeplex.
https://swiftforwindows.codeplex.com/
现在可以在Microsoft Codeplex上使用Swift for Windows。 https://swiftforwindows.codeplex.com/
System Requirement - Visual C++ Redistributable for Visual Studio 2015.
系统要求 - Visual Studio 2015的Visual C ++ Redistributable。
#2
0
As far as I know: Swift is available for linux and you can expect swift for Windows, Android soon in the future.
据我所知:Swift适用于Linux,未来很快你就可以期待很快适用于Windows,Android。
If you want to use Swift language on windows, you must be rely on web based platform. For example: http://swiftstub.com , http://www.runswiftlang.com , etc.
如果要在Windows上使用Swift语言,则必须依赖基于Web的平台。例如:http://swiftstub.com,http://www.runswiftlang.com等。
Silver runs on Windows and allows you to compile Swift code to Java and .NET.
Silver在Windows上运行,允许您将Swift代码编译为Java和.NET。
#3
0
Since Swift got open sourced, many more platforms were supported by Swift.
由于Swift开源,Swift支持更多平台。
Linux was added shortly after it was open sourced, and just recently, the Android support for Swift was merged into the master branch.
Linux在开源后不久就被添加了,就在最近,Android对Swift的支持被合并到了主分支中。
You can track the progress of porting Swift to Windows here. As you might see, it's not currently being worked on actively by the Swift team, there is, however, a community port on Github trying to port Swift to Windows.
您可以在此处跟踪将Swift移植到Windows的进度。正如您可能看到的那样,Swift团队目前尚未积极开展工作,但Github上有一个社区端口试图将Swift移植到Windows。
#4
0
You say:
With the release of swift 3.0 being avaliable for Mac OS and Windows
随着适用于Mac OS和Windows的swift 3.0的发布
But this hasn't been announced officially.
但这还没有正式宣布。
There's some projects, but nothing from Apple... yet.
有一些项目,但苹果公司还没有。
And anyway, the site where you read this:
无论如何,你读到这个网站:
is not about Apple's Swift, it's an entirely different project with, unfortunately, the same name.
不是Apple的Swift,它是一个完全不同的项目,不幸的是,同名。
#5
0
It is possible to write, build and run Swift code on Windows. With "Siver" and "Elements".
可以在Windows上编写,构建和运行Swift代码。用“Siver”和“Elements”。
Silver is a free implementation of Apple's Swift programming language. With Silver, you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs.
Silver是Apple的Swift编程语言的免费实现。使用Silver,您可以使用Swift直接针对.NET,Java,Android和Cocoa API编写代码。
Elements is a compiler and development tool chain for Oxygene, C# and Swift which targets the .NET runtime, Java/Android virtual machines. Elements is developed by RemObjects Software (https://en.wikipedia.org/wiki/RemObjects_Software).
Elements是Oxygene,C#和Swift的编译器和开发工具链,它以.NET运行时Java / Android虚拟机为目标。 Elements由RemObjects Software(https://en.wikipedia.org/wiki/RemObjects_Software)开发。
HelloWorld.exe example here: https://github.com/alexbaban/Swift/blob/master/Building%20Swift%20Code%20On%20Windows.md
HelloWorld.exe示例:https://github.com/alexbaban/Swift/blob/master/Building%20Swift%20Code%20On%20Windows.md