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
96
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
76
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
210
Ruby 型別檢查工具簡介
johnlinvc
0
410
Swift Actor 實作探索
johnlinvc
0
140
用 mruby 來寫跨平台工具
johnlinvc
0
64
Actor model 簡介
johnlinvc
0
170
一起玩 Helm 3
johnlinvc
1
100
為什麼 App 卡卡的
johnlinvc
2
1.1k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
180
Other Decks in Programming
See All in Programming
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
2024年のWebフロントエンドのふりかえりと2025年
sakito
2
250
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
9
1.8k
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
2
220
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
負債になりにくいCSSをデザイナとつくるには?
fsubal
9
2.4k
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
130
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
120
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
37
14k
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
47
17k
ARA Ansible for the teams
kksat
0
150
Rails アプリ地図考 Flush Cut
makicamel
1
120
Featured
See All Featured
Site-Speed That Sticks
csswizardry
4
380
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Bash Introduction
62gerente
611
210k
BBQ
matthewcrist
87
9.5k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
For a Future-Friendly Web
brad_frost
176
9.5k
Facilitating Awesome Meetings
lara
52
6.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
630
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