What's new in Swift? WWDC2016

這篇主要是把這個 Session 裡重要的東西寫下來

Code of conduct : We have a very strong code of conduct for the project and we think it's very important that everyone can contribute without feeling that they are discriminated against or treated in an unprofessional manner.

Apache 2 with Runtime Library Exception: The project is under a Permissive Open Source License. This is really important, because we want Swift to be used in ways that Apple didn’t conceive.


在 Github 上面 Swift 的 Repo 可以分成這三個類別

Package Manager

這部分我看不太懂,下面是他們的解說

The idea is that we want to build, enable the community to build, a software ecosystem for Swift.
And we think this is really vital for bringing Swift to other contexts, like Swift on the server.
It’s designed for very frictionless development. It’s like easy to get started, minimal configuration, easy to articulate your dependencies.

Core Libraries

基本上就是蘋果把他們作業系統裡面一些核心的 API 釋出

There’s a lot of great APIs in iOS, in macOS, tvOS, and WatchOS. A lot of these are like part of the base substrate of APIs that we think should be available for everyone to get work done.
And so the Core Libraries represent alternate implementations that aren’t tied to the Objective-C run time of some of these core APIs on Linux, and also other platforms that Swift will be ported to, so notable examples include things like XE tests, so you can write unit tests, a subset of foundation that really is quite portable and not really tied to Cocoa, and a work in progress port of libdispatch so you can use all those concurrency APIs.

Language

swift-evolution, swift

swift-evolution 這個 Repo 裡記錄了 Swift 裡所有個更改的歷程

Swift API 命名方式的改變(這是 Swift 3 改變最大的地方)

後面都講得太深了我都聽不太懂,想要知道的讀者可能要自己去看了Orz.....