Download - AltConf 2017: Full Stack Swift in 30 Minutes
![Page 1: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/1.jpg)
Swift @ IBM Engineering TeamChris Bailey(@Chris__Bailey)
June 6th, 2017
Full-Stack Swift in 30 Minutes
Swift @ IBM
![Page 2: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/2.jpg)
December 3rd, 2015
Apache 2.0 Software Licence
![Page 3: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/3.jpg)
![Page 4: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/4.jpg)
Linux Platforms Darwin Platforms
Swift on Linux
Swift @ IBM
Swift
StandardLibrary Foundation Dispatch
Swift
StandardLibrary Foundation Dispatch
Consistent Runtime across Platforms
![Page 5: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/5.jpg)
Why Swift on the Server?
![Page 6: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/6.jpg)
4.0
0.0
20.0
40.0
60.0
80.0
100.0
120.0
Performant Applications
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Dur
atio
n (s
) (lo
wer
is b
ette
r)
![Page 7: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/7.jpg)
4.0 4.3
0.0
20.0
40.0
60.0
80.0
100.0
120.0
Performant Applications
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Dur
atio
n (s
) (lo
wer
is b
ette
r)
![Page 8: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/8.jpg)
4.0 4.315.8
0.0
20.0
40.0
60.0
80.0
100.0
120.0
Performant Applications
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Dur
atio
n (s
) (lo
wer
is b
ette
r)
![Page 9: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/9.jpg)
Performant Applications
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
4.0 4.315.8
134.2
0.0
20.0
40.0
60.0
80.0
100.0
120.0
Dur
atio
n (s
) (lo
wer
is b
ette
r)
![Page 10: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/10.jpg)
15.0
0.0
10.0
20.0
30.0
40.0
50.0
60.0
Low Memory
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Mem
ory
Usa
ge (M
B)
(low
er is
bet
ter)
![Page 11: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/11.jpg)
15.0
32.2
0.0
10.0
20.0
30.0
40.0
50.0
60.0
Low Memory
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Mem
ory
Usa
ge (M
B)
(low
er is
bet
ter)
![Page 12: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/12.jpg)
15.0
32.2
25.3
0.0
10.0
20.0
30.0
40.0
50.0
60.0
Low Memory
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Mem
ory
Usa
ge (M
B)
(low
er is
bet
ter)
![Page 13: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/13.jpg)
15.0
32.2
25.3
54.6
0.0
10.0
20.0
30.0
40.0
50.0
60.0
Low Memory
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
Mem
ory
Usa
ge (M
B)
(low
er is
bet
ter)
![Page 14: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/14.jpg)
Swift is ideal for Cloud
![Page 15: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/15.jpg)
Data from Jens Ravens @jenravens
![Page 16: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/16.jpg)
Data from Jens Ravens @jenravens
![Page 17: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/17.jpg)
Data from Jens Ravens @jenravens
![Page 18: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/18.jpg)
Data from Jens Ravens @jenravens
![Page 19: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/19.jpg)
Data from Jens Ravens @jenravens
$0.07 GB/Hr
256 MB 128 MB
$613.20 GB/Year
x2
= $306.60
x2
= $153.3
![Page 20: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/20.jpg)
Swift is fast enough. We should focus on developer productivity instead
Data from Jens Ravens @jenravens
![Page 21: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/21.jpg)
faster development = more revenue
Swift is fast enough. We should focus on developer productivity instead
Data from Jens Ravens @jenravens
![Page 22: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/22.jpg)
Productivity is Key
![Page 23: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/23.jpg)
Frontend Web Developer
0 17.5 35 52.5 70
11.9
Data from StackOverflow Survey 2017https://insights.stackoverflow.com/survey/2017
![Page 24: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/24.jpg)
Backend Web Developer
Frontend Web Developer
0 17.5 35 52.5 70
11.9
24.4
Data from StackOverflow Survey 2017https://insights.stackoverflow.com/survey/2017
![Page 25: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/25.jpg)
Full Stack Web Developer
Backend Web Developer
Frontend Web Developer
0 17.5 35 52.5 70
11.9
24.4
63.7
Data from StackOverflow Survey 2017https://insights.stackoverflow.com/survey/2017
Web Developers are Full Stack
![Page 26: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/26.jpg)
Full Stack Swiftfor higher productivity
![Page 27: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/27.jpg)
Full Stack Swiftfor higher productivity
(and lower cost)
![Page 28: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/28.jpg)
iOS APP
![Page 29: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/29.jpg)
iOS APP
Hosted Services
DATA
SOCIAL
COGNATIVE
![Page 30: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/30.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
DATA
SOCIAL
COGNATIVE
![Page 31: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/31.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
DATA
SOCIAL
COGNATIVE
![Page 32: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/32.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER DATA
SOCIAL
COGNATIVE
![Page 33: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/33.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER DATA
PUSH ANALYTICS
SOCIAL
COGNATIVE
AUTH
![Page 34: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/34.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER DATA
PUSH ANALYTICS
DEVOPS AVAILABILITY MONITORINGSCALING
SOCIAL
COGNATIVE
AUTH
![Page 35: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/35.jpg)
iOS APP
Hosted ServicesGATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER DATA
PUSH ANALYTICS
DEVOPS AVAILABILITY MONITORINGSCALING
SOCIAL
COGNATIVE
AUTH
WEB APP
![Page 36: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/36.jpg)
Full Stack in 30 Minuteshttps://github.com/seabaylea/FoodTrackerBackend-Workshop
![Page 37: AltConf 2017: Full Stack Swift in 30 Minutes](https://reader033.vdocuments.us/reader033/viewer/2022051521/5a64cf397f8b9ac21c8b643b/html5/thumbnails/37.jpg)
Become a SwiftStack Developer Today
kitura.iogithub.com/ibm-swift swift-at-ibm-slack .mybluemix.net