Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Swift weekly 2018/05/08
Search
Johnlin
May 08, 2018
Programming
1
100
Swift weekly 2018/05/08
Johnlin
May 08, 2018
Tweet
Share
More Decks by Johnlin
See All by Johnlin
用 MLIR 實作 一個 Ruby IR (intermediate representation)
johnlinvc
0
120
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
260
Ruby 型別檢查工具簡介
johnlinvc
0
460
Swift Actor 實作探索
johnlinvc
0
160
用 mruby 來寫跨平台工具
johnlinvc
0
74
Actor model 簡介
johnlinvc
0
190
一起玩 Helm 3
johnlinvc
1
110
為什麼 App 卡卡的
johnlinvc
2
1.2k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
200
Other Decks in Programming
See All in Programming
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
700
Benchmark
sysong
0
200
AWS CDKの推しポイント 〜CloudFormationと比較してみた〜
akihisaikeda
3
280
エラーって何種類あるの?
kajitack
5
150
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
260
Using AI Tools Around Software Development
inouehi
0
1.2k
生成AIで日々のエラー調査を進めたい
yuyaabo
0
590
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
300
KotlinConf 2025 現地参加の土産話
n_takehata
0
100
GoのGenericsによるslice操作との付き合い方
syumai
2
630
無関心の谷
kanayannet
0
170
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
180
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
How GitHub (no longer) Works
holman
314
140k
The Language of Interfaces
destraynor
158
25k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
43
2.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Optimizing for Happiness
mojombo
379
70k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Become a Pro
speakerdeck
PRO
28
5.4k
Documentation Writing (for coders)
carmenintech
71
4.9k
The Invisible Side of Design
smashingmag
299
51k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
660
Raft: Consensus for Rubyists
vanstee
140
7k
Transcript
Swift पใ 2018/05/08 John Lin @johnlinvc
From the core • Community Hosted CI
Community hosted CI • ݱࡏ Swift ࢧԉ apple OS(mac,ios...) &
Ubuntu • رՄҎᩋ Swift ࢧԉߋଟత࡞ۀܥ౷ߗᱪ • ৽⃧ྃ Fedora , Debian(ARMv7) • ᓣܴఏڙػث
Evolution • [SE-0201] Package Manager Local Dependencies • [SE-0202] Random
Unification • [SE-0204] Add last(where:) and lastIndex(where:) Methods • [SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values
[SE-0201] Package Manager Local Dependencies • SPM ৽⃧Ұݸએࠂ dependency తํ๏
• ՄҎ༻ local dependency • ։ᚙlibrary ҃์ example త࣌ީํศ
[SE-0202] Random Unification • ݱࡏཁ၏ random ༗ᴍຑ •
[SE-0202] Random Unification • ఏڙ౷Ұత API •
[SE-0202] Random Unification • ఏڙ౷Ұత API •
[SE-0202] Random Unification • ఏڙ౷Ұత API •
[SE-0202] Random Unification • Collection random •
[SE-0202] Random Unification • Collection shuffle •
[SE-0204] Add last(where:) and lastIndex(where:) Methods • ཁፙ collection ཫූ߹ᑍ݅త݅ᕝ؆ᄸత
•
[SE-0204] Add last(where:) and lastIndex(where:) Methods • ୠཁաိፙबຑ •
[SE-0204] Add last(where:) and lastIndex(where:) Methods • ။৽⃧ last &
lastIndex •
[SE-0204] Add last(where:) and lastIndex(where:) Methods • ᢜత။վ໊ !!! •
index(of:) -> firstIndex(of:) • index(where:) -> firstIndex(where:) • ။ఏڙ fixit, Swift 4.2 ။ᢜత deprecate, Swift 5 ፤ᎃ •
[SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • withUnsafeBytes ݱࡏೳ༻ࡏ
var ্ •
[SE-0205] withUnsafePointer(to:_:) and withUnsafeBytes(of:_:) for immutable values • ೭ޙՄҎ༻ࡏ let
্ • Ұൠਓጯ֘༻ෆ౸ʁ •
Evolution • [SE-0206] Hashable Enhancements • [SE-0207] Add a containsOnly
algorithm to Sequence • [SE-0208] Package Manager System Library Targets • [SE-0209] Package Manager Swift Language Version API Update
[SE-0206] Hashable Enhancements
[SE-0206] Hashable Enhancements
[SE-0206] Hashable Enhancements
[SE-0206] Hashable Enhancements
[SE-0207] Add a containsOnly algorithm to Sequence •
[SE-0207] Add a containsOnly algorithm to Sequence • ೭ޙ။৽⃧ •
nums.allSatisfy{$0 == 9}
[SE-0208] Package Manager System Library Targets • ݱࡏཁ༻ܥ౷ library ຑ
• ཁ༻ libpng बཁઌҰݸ Clibpng త package ࡏ project ࠶ڈ༻ಹݸ package • ೭ޙՃҰݸ libpng త target बՄҎ༻ྃ
[SE-0209] Package Manager Swift Language Version API Update • ݱࡏ
SPM ೳ༻Ꮠత Swift ൛ຊɼᔒ㭎๏႔ཧ 4.2 • ೭ޙ။༻Ұݸ enum แىိɼఏڙҰݸࣈ۲൛త case
Community • Swift for TensorFlow is Open Sourced !! •
https://www.tensorflow.org/community/swift • https://github.com/tensorflow/swift
Community • Vapor 3.0 • https://medium.com/@codevapor/vapor-3-0-0- released-8356fa619a5d