官方网址关于notes

2019-11-26 16:35 来源:未知

Swift is Open Source

About Swift

The Swift.org Blog Welcome

swift.org-about-swift

The Swift.org Blog welcomeProjectsSwift Package ManagerCore LibrariesSwift.org Website

Swift is Open SourceSwift.orgSource CodeSwift Package Manager 包管理器Core Libraries 核心库Platforms 跨平台Getting Started 开始入手Swift吧总结

About SwiftFeaturesSafetySwift.org and Open SourceProjectsPlatform Support 支持的平台Apple PlatformsLinuxNew Platforms

Swift is Open Source

Swift is now open source. Today Apple launched the open source Swift community, as well as amazing new tools and resources including:

  • Swift.org – a site dedicated to the open source Swift community
  • Public source code repositories at github
  • A new Swift package manager project for easily sharing and building code
  • A Swift-native core libraries project with higher-level functionality above the standard library
  • Platform support for all Apple platforms as well as Linux

Now anyone can download the code and in-development builds to see what the team is up to. More advanced developers interested in contributing to the project can file bugs, participate in the community, and contribute their own fixes and enhancements to make Swift even better. For production App Store development you should always use the stable releases of Swift included in Xcode, and this remains a requirement for app submission. (提交的时候,还是得按照Xcode里的swift版本)

About Swift

Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.

The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services.(目标领域:系统,移动,桌面,云平台) Most importantly, Swift is designed to make writing and maintaining correct programs easier for the developer. To achieve this goal, we believe that the most obvious way to write Swift code must also be:

Safe安全. The most obvious way to write code should also behave in a safe manner. Undefined behavior is the enemy of safety, and developer mistakes should be caught before software is in production. Opting for safety sometimes means Swift will feel strict, but we believe that clarity saves time in the long run.(前期严格长远看来是有好处的.)

Fast快速. Swift is intended as a replacement for C-based languages (C, C++, and Objective-C). (swift设计出来就是为了替代C,C++,OC)As such, Swift must be comparable to those languages in performance for most tasks. Performance must also be predictable and consistent(性能邀求:可预测,一致性), not just fast in short bursts that require clean-up later. There are lots of languages with novel features — being fast is rare.

Expressive(富于表达). Swift benefits from decades of advancement in computer science to offer syntax that is a joy to use, with modern features developers expect. But Swift is never done. We will monitor language advancements and embrace what works, continually evolving to make Swift even better.

Tools are a critical part of the Swift ecosystem. (对于Swift生态系统,工具也是很重要的一个部分)We strive to integrate well within a developer’s toolset, to build quickly, to present excellent diagnostics, and to enable interactive development experiences. Tools can make programming so much more powerful, like Swift-based playgrounds do in Xcode, or a web-based REPL can when working with Linux server-side code.

The Swift.org Blog welcome

DECEMBER 3, 2015

Welcome to the blog on Swift.org! Today we launched the open source Swift project along with the Swift.org website. We couldn’t be more excited to work together in an open community to find and fix issues, add enhancements, and bring Swift to new platforms.

This blog is where the engineers working on Swift will make announcements and highlight important community topics.

TAG标签:
版权声明:本文由金沙澳门官网4166发布于中国史,转载请注明出处:官方网址关于notes