11

开发者现可在Windows平台上构建和运行Swift代码

 3 years ago
source link: https://www.cnbeta.com/articles/tech/1032531.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Apple Insider 报道称: 苹果力推的 Swift 编程语言,已于在本周正式登陆 Windows 平台,感兴趣的开发者可从开源项目站点下载工具包。 Swift 团队在周二发布的博客文章中宣布,这将使得开发者能够直接在 Windows 10 平台上构建、运行和调试 Swift 代码,此外工具包中囊括了编译器、标准库、核心库等构建功能性应用程序所需的所有关键要素。

uABNR3a.jpg!mobile

(来自: Swift.org

Swift 核心团队成员兼 Google Brain 软件工程师 Saleem Abdulrasool 写道:

通过这些核心库、以及 Swift 和 C 语言的灵活互操作性,你我可以在 Windows 上获得纯粹的 Swift 开发体验,同时充分利用 Windows 平台上现有的库集资源。

对该项目感兴趣的开发者,可下载 Windows 版 Swift 工具包( 传送门 ),并通过 Swift Bug Tracker 提交问题报告。

quMZn26.gif!mobile

计算器示例应用

Swift 团队还通过 Visual Studio 2019 创建了一款具有基础功能的计算器应用程序(使用 Cmake 构建),以演示该工具包的功能。

至于 Windows 平台上的 Swift 软件包管理器支持工作,目前仍在开发中。不过一些主要开发者,已经开始在 Windows 上试用 Swift,比如 Readdle 。

作为 iOS 和 Mac 软件的长期开发商,其自 2019 年以来就一直在修补其 Spark 电子邮件应用的跨平台体验,并且获得了预期中的良好反馈。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK