Swift @ IBM Engineering Team
Chris Bailey(@Chris__Bailey)
June 6th, 2017
Full-Stack Swift in 30 Minutes
Swift @ IBM
December 3rd, 2015
Apache 2.0 Software Licence
Linux PlatformsDarwin Platforms
Swift on Linux
Swift @ IBM
Swift
Standard

Library
Foundation Dispatch
Swift
Standard

Library
Foundation Dispatch
Consistent
Runtime across
Platforms
Why Swift on the Server?
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
Duration(s)
(lowerisbetter)
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
Duration(s)
(lowerisbetter)
4.0	 4.3	
15.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
Duration(s)
(lowerisbetter)
Performant Applications
http://benchmarksgame.alioth.debian.org/u64q/performance.php?test=spectralnorm
4.0	 4.3	
15.8	
134.2	
0.0	
20.0	
40.0	
60.0	
80.0	
100.0	
120.0	
				
Duration(s)
(lowerisbetter)
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
MemoryUsage(MB)
(lowerisbetter)
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
MemoryUsage(MB)
(lowerisbetter)
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
MemoryUsage(MB)
(lowerisbetter)
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
MemoryUsage(MB)
(lowerisbetter)
Swift is ideal for Cloud
Data from Jens Ravens
@jenravens
Data from Jens Ravens
@jenravens
Data from Jens Ravens
@jenravens
Data from Jens Ravens
@jenravens
Data from Jens Ravens
@jenravens
$0.07 GB/Hr
256 MB 128 MB
$613.20 GB/Year
x2
= $306.60
x2
= $153.3
Swift is fast enough. We should focus on
developer productivity instead
Data from Jens Ravens
@jenravens
faster development = more revenue
Swift is fast enough. We should focus on
developer productivity instead
Data from Jens Ravens
@jenravens
Productivity is Key
Frontend Web Developer
0 17.5 35 52.5 70
11.9
Data from StackOverflow Survey 2017
https://insights.stackoverflow.com/survey/2017
Backend Web Developer
Frontend Web Developer
0 17.5 35 52.5 70
11.9
24.4
Data from StackOverflow Survey 2017
https://insights.stackoverflow.com/survey/2017
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 2017
https://insights.stackoverflow.com/survey/2017
Web Developers are Full Stack
Full Stack Swift

for higher productivity
Full Stack Swift

for higher productivity
(and lower cost)
iOS APP
iOS APP
Hosted Services
DATA
SOCIAL
COGNATIVE
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
DATA
SOCIAL
COGNATIVE
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
DATA
SOCIAL
COGNATIVE
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER
DATA
SOCIAL
COGNATIVE
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER
DATA
PUSH ANALYTICS
SOCIAL
COGNATIVE
AUTH
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER
DATA
PUSH ANALYTICS
DEVOPS AVAILABILITY MONITORINGSCALING
SOCIAL
COGNATIVE
AUTH
iOS APP
Hosted Services
GATEWAY
PUBLIC NETWORK CLOUD NETWORK
SWAGGER
DATA
PUSH ANALYTICS
DEVOPS AVAILABILITY MONITORINGSCALING
SOCIAL
COGNATIVE
AUTH
WEB APP
Full Stack in 30 Minutes
https://github.com/seabaylea/FoodTrackerBackend-Workshop
Become a SwiftStack
Developer Today

kitura.iogithub.com/ibm-swift swift-at-ibm-slack

.mybluemix.net

AltConf 2017: Full Stack Swift in 30 Minutes