Slide 1

Slide 1 text

Swift rEvolution Kostiantyn Koval !@KostiaKoval

Slide 2

Slide 2 text

Swift Modern and Powerful strives for Simplicity and Safety with "C-like" Performance

Slide 3

Slide 3 text

The Beginning -?

Slide 4

Slide 4 text

rEvolution start Jul 2010

Slide 5

Slide 5 text

rEvolution start • "Sat Jul 17 23:50:59 2010 +0000" • September 9, 2014 - ! Swift 1.0 • September 21, 2015 - "# Swift 2.0

Slide 6

Slide 6 text

rEvolution start • "Sat Jul 17 23:50:59 2010 +0000" • September 9, 2014 - ! Swift 1.0 • September 21, 2015 - "# Swift 2.0 December 3, 2015 Big Bang -!"✨

Slide 7

Slide 7 text

Swift - Open Source

Slide 8

Slide 8 text

Open ! 1. Source at GitHub, not opensource.apple.com 2. Full commit history 43,429 43,898 commits 3. Commit access 4. New open source projects: swift-protobuf 5. Workflow 6. Evolution and discussions

Slide 9

Slide 9 text

Syntax: simple - clean - nice let swift = "!"

Slide 10

Slide 10 text

Learning & Teaching & Coding • simple - clean - nice Syntax • Swift Playgrounds • Xcode Playground

Slide 11

Slide 11 text

Learning & Teaching & Coding • simple - clean - nice Syntax • Swift Playgrounds • Xcode Playground Great as first programming language!

Slide 12

Slide 12 text

Tools ! • Swift compiler + stdlib • foundation, libdispatch • xctest • Swift Package Manager, llbuild • CI, !, Benchmark • More: playgrounds, protobuf

Slide 13

Slide 13 text

Community - People ! " #

Slide 14

Slide 14 text

Platforms Mobile | Desktop Server | Web Embedded

Slide 15

Slide 15 text

Platforms • iOS and macOS -  • Linux -  • Web - IBM +  + Server APIs • Android - Community + "Brian Gesiak" Other • Raspberrypi, Windows, FreeBSD, PS4,

Slide 16

Slide 16 text

static const StringRef OSs[] = { static const StringRef Arches[] = { "OSX", "arm", "tvOS", "arm64", "watchOS", "i386", "iOS", "x86_64", "Linux", "powerpc64", "FreeBSD", "powerpc64le", "Windows", "s390x" "Android", }; "PS4", }; static const StringRef Endianness[] = { "little", "big" };

Slide 17

Slide 17 text

Web ! • Swift@IBM: • Frameworks: Kitura, Vapor, Perfect, Zewo • Hosting: Heroku, AWS, Digital Ocean, Azure • Performance: > nodeJS, java, ruby

Slide 18

Slide 18 text

Web ! • Swift@IBM: • Frameworks: Kitura, Vapor, Perfect, Zewo • Hosting: Heroku, AWS, Digital Ocean, Azure • Performance: > nodeJS, java, ruby Server APIs Project

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Android • apple/swift -  • stdlib + Foundation • swift-corelibs-libdispatch open PR "#162" • !"# SwiftAndroid

Slide 21

Slide 21 text

Android Requirements: NDK, libiconv-libicu, .... • swift repo: 100% swift • SwiftAndroid: android app + swift lib "How we put an app in the Android Play Store using Swift"

Slide 22

Slide 22 text

Android limitations • Hard to setup • No java interoperability • Community driven Not production ready, Yet

Slide 23

Slide 23 text

Evolution Swift is Young and Moves fast

Slide 24

Slide 24 text

It is not the strongest that survive, but the one who are willing to adapt — Evolution

Slide 25

Slide 25 text

Hottest News!! !

Slide 26

Slide 26 text

Swift 2.3 is Deprecated Xcode 8.2 release notes

Slide 27

Slide 27 text

Evolution apple/swift-evolution -> apple.github.io/swift-evolution • 3 major release in 2 years • 144 Accepted proposals. 1,591 commits • hundred thousand of emails in mailing list

Slide 28

Slide 28 text

Swift 3.0 • 90+ proposals • Syntax, Syntax, (if let - where, open, fileprivate, ...) • Swifty Foundation, GCD and API • Removed automatic objc-swift bridging • C and UnsafePointer • Swift Package Manager release !

Slide 29

Slide 29 text

But where is ABI ? Not there yet. We were busy breaking the language !

Slide 30

Slide 30 text

Swift 4.0 ! • ! No Source breaking changes (unless impacts ABI) *hopefully, maybe • ABI • Stabilization, Resilience • Generics, String • Memory ownership

Slide 31

Slide 31 text

Stay up to date with Swift • try? Swift • Beta • Newsletters • Evolutions • Mailing List ! - lists.swift.org

Slide 32

Slide 32 text

One More Thing

Slide 33

Slide 33 text

Compile time • Compilation performance • Debugging Slow Swift Compile

Slide 34

Slide 34 text

Compile time • Compilation performance • Debugging Slow Swift Compile 25% speedup

Slide 35

Slide 35 text

Thanks Questions? @KostiaKoval