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
94
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
63
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
210
Ruby 型別檢查工具簡介
johnlinvc
0
410
Swift Actor 實作探索
johnlinvc
0
140
用 mruby 來寫跨平台工具
johnlinvc
0
60
Actor model 簡介
johnlinvc
0
160
一起玩 Helm 3
johnlinvc
1
100
為什麼 App 卡卡的
johnlinvc
2
1.1k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
170
Other Decks in Programming
See All in Programming
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
1.4k
混沌とした例外処理とエラー監視に秩序をもたらす
morihirok
13
2.3k
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
6
1.4k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
良いユニットテストを書こう
mototakatsu
11
3.6k
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
940
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Docker and Python
trallard
43
3.2k
Making the Leap to Tech Lead
cromwellryan
133
9k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
How to train your dragon (web standard)
notwaldorf
89
5.8k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
A Philosophy of Restraint
colly
203
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Building Applications with DynamoDB
mza
93
6.2k
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