Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
The Past, Present and
Future of Swift
Voxxed Belgrade
@chrischinch
MyApple Adventure
The Past of Swift
Objective-C
Score Card
+ Thin Runtime
+ Leverage GCC and Libraries
+ Low barrier to entry (At the time)
- Larger than C / C++
- Namesp...
The Past
Release
–Not everyone is a fan…
“Type a quote here.”
2.2+ Apache License 2.0
December 3, 2015
The Present
What’s Included?
• Compiler
• Standard Library
• SDK Overlays
• Debugger
• Package Manager
Who’s using it?
• Libraries (Alamo, Vapor, Perfect etc)
• Swift AI
• Duolingo, Dub Smash, EyeEm*
• Pandora, Twitter, FitBi...
Installation - MacOS
swiftenv install 2.2
Installation - Linux
sudo apt-get install clang libicu-dev



wget https://swift.org/builds/swift-3.0-release/
ubuntu1404/...
Compile & Run
swiftc helloworld.swift

ls -al

./helloworld
The Future
…And maybe some of the present
Server-side Swift
• REST
• JSON
• Cookies
• Database connectors
• Web Servers
• Templates
And there’s more…
• Vapor - RoR for Swift
• Kitura - IBM
Tools, tools, tools
• Package Manager
• swiftenv
• http servers, markdown parsers, connectors…
The Future
…Maybe
In Theory…
• Leverage NDK
• Generate an object file from the LLVM-IR
• Package that object file in an Android app (Likely C)...
Swift for Windows
• github.com/tinysun212/swift-windows
• swiftforwindows.codeplex.com
• Microsoft Visual C++ and Cygwin b...
Score Card
+ Type, generics, optionals, chaining, Protocol-oriented
+ Simple(ish) and clean(ish)
+ Memory management
+ Big...
Yet to come
• Even more stable ABI
• Platform independence
• Better C++ compatibility
• General stability
• Concurrency
Thanks!
Chris Ward

@chrischinch



Contentful

gregariousmammal.com
I have stickers and merchandise!
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
The past, present and future of swift, Voxxed Belgrade 2016
Upcoming SlideShare
Loading in …5
×

of

The past, present and future of swift, Voxxed Belgrade 2016 Slide 1 The past, present and future of swift, Voxxed Belgrade 2016 Slide 2 The past, present and future of swift, Voxxed Belgrade 2016 Slide 3 The past, present and future of swift, Voxxed Belgrade 2016 Slide 4 The past, present and future of swift, Voxxed Belgrade 2016 Slide 5 The past, present and future of swift, Voxxed Belgrade 2016 Slide 6 The past, present and future of swift, Voxxed Belgrade 2016 Slide 7 The past, present and future of swift, Voxxed Belgrade 2016 Slide 8 The past, present and future of swift, Voxxed Belgrade 2016 Slide 9 The past, present and future of swift, Voxxed Belgrade 2016 Slide 10 The past, present and future of swift, Voxxed Belgrade 2016 Slide 11 The past, present and future of swift, Voxxed Belgrade 2016 Slide 12 The past, present and future of swift, Voxxed Belgrade 2016 Slide 13 The past, present and future of swift, Voxxed Belgrade 2016 Slide 14 The past, present and future of swift, Voxxed Belgrade 2016 Slide 15 The past, present and future of swift, Voxxed Belgrade 2016 Slide 16 The past, present and future of swift, Voxxed Belgrade 2016 Slide 17 The past, present and future of swift, Voxxed Belgrade 2016 Slide 18 The past, present and future of swift, Voxxed Belgrade 2016 Slide 19 The past, present and future of swift, Voxxed Belgrade 2016 Slide 20 The past, present and future of swift, Voxxed Belgrade 2016 Slide 21 The past, present and future of swift, Voxxed Belgrade 2016 Slide 22 The past, present and future of swift, Voxxed Belgrade 2016 Slide 23 The past, present and future of swift, Voxxed Belgrade 2016 Slide 24 The past, present and future of swift, Voxxed Belgrade 2016 Slide 25 The past, present and future of swift, Voxxed Belgrade 2016 Slide 26 The past, present and future of swift, Voxxed Belgrade 2016 Slide 27 The past, present and future of swift, Voxxed Belgrade 2016 Slide 28 The past, present and future of swift, Voxxed Belgrade 2016 Slide 29 The past, present and future of swift, Voxxed Belgrade 2016 Slide 30 The past, present and future of swift, Voxxed Belgrade 2016 Slide 31 The past, present and future of swift, Voxxed Belgrade 2016 Slide 32 The past, present and future of swift, Voxxed Belgrade 2016 Slide 33 The past, present and future of swift, Voxxed Belgrade 2016 Slide 34 The past, present and future of swift, Voxxed Belgrade 2016 Slide 35 The past, present and future of swift, Voxxed Belgrade 2016 Slide 36 The past, present and future of swift, Voxxed Belgrade 2016 Slide 37 The past, present and future of swift, Voxxed Belgrade 2016 Slide 38 The past, present and future of swift, Voxxed Belgrade 2016 Slide 39 The past, present and future of swift, Voxxed Belgrade 2016 Slide 40 The past, present and future of swift, Voxxed Belgrade 2016 Slide 41
Upcoming SlideShare
acu presention
Next
Download to read offline and view in fullscreen.

0 Likes

Share

Download to read offline

The past, present and future of swift, Voxxed Belgrade 2016

Download to read offline

Whilst open sourcing a language is nothing new, Apple's unprecedented step has caused massive excitement and activity for this new language, with a flurry of development and contributions.

In this presentation I would like to explore the current potential of Swift and what's going to be possible in the future.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

The past, present and future of swift, Voxxed Belgrade 2016

  1. 1. The Past, Present and Future of Swift Voxxed Belgrade @chrischinch
  2. 2. MyApple Adventure
  3. 3. The Past of Swift Objective-C
  4. 4. Score Card + Thin Runtime + Leverage GCC and Libraries + Low barrier to entry (At the time) - Larger than C / C++ - Namespace support - Optimisation - High barrier to entry (Now) - Closed Source
  5. 5. The Past Release
  6. 6. –Not everyone is a fan… “Type a quote here.”
  7. 7. 2.2+ Apache License 2.0 December 3, 2015
  8. 8. The Present
  9. 9. What’s Included? • Compiler • Standard Library • SDK Overlays • Debugger • Package Manager
  10. 10. Who’s using it? • Libraries (Alamo, Vapor, Perfect etc) • Swift AI • Duolingo, Dub Smash, EyeEm* • Pandora, Twitter, FitBit, Groupon
  11. 11. Installation - MacOS swiftenv install 2.2
  12. 12. Installation - Linux sudo apt-get install clang libicu-dev
 
 wget https://swift.org/builds/swift-3.0-release/ ubuntu1404/swift-3.0-RELEASE/swift-3.0-RELEASE- ubuntu14.04.tar.gz tar -xvf xxx.tar.gz export PATH=~/swift-3.0-RELEASE-ubuntu14.04/usr/ bin
  13. 13. Compile & Run swiftc helloworld.swift
 ls -al
 ./helloworld
  14. 14. The Future …And maybe some of the present
  15. 15. Server-side Swift • REST • JSON • Cookies • Database connectors • Web Servers • Templates
  16. 16. And there’s more… • Vapor - RoR for Swift • Kitura - IBM
  17. 17. Tools, tools, tools • Package Manager • swiftenv • http servers, markdown parsers, connectors…
  18. 18. The Future …Maybe
  19. 19. In Theory… • Leverage NDK • Generate an object file from the LLVM-IR • Package that object file in an Android app (Likely C) • Pack in a Shared Library and run • The future…? (Search if you really want to)
  20. 20. Swift for Windows • github.com/tinysun212/swift-windows • swiftforwindows.codeplex.com • Microsoft Visual C++ and Cygwin binaries • No UI or platform libraries (yet)
  21. 21. Score Card + Type, generics, optionals, chaining, Protocol-oriented + Simple(ish) and clean(ish) + Memory management + Big backer - Support (Docs, Tools) - Fast development* - www.linkedin.com/pulse/who-said-swift-better-than-objective-c- willie-shi
  22. 22. Yet to come • Even more stable ABI • Platform independence • Better C++ compatibility • General stability • Concurrency
  23. 23. Thanks! Chris Ward
 @chrischinch
 
 Contentful
 gregariousmammal.com I have stickers and merchandise!

Whilst open sourcing a language is nothing new, Apple's unprecedented step has caused massive excitement and activity for this new language, with a flurry of development and contributions. In this presentation I would like to explore the current potential of Swift and what's going to be possible in the future.

Views

Total views

204

On Slideshare

0

From embeds

0

Number of embeds

18

Actions

Downloads

4

Shares

0

Comments

0

Likes

0

×