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 2017-02-07
Search
Johnlin
February 07, 2017
Programming
1
120
Swift Weekly 2017-02-07
Johnlin
February 07, 2017
Tweet
Share
More Decks by Johnlin
See All by Johnlin
用 MLIR 實作 一個 Ruby IR (intermediate representation)
johnlinvc
0
49
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
200
Ruby 型別檢查工具簡介
johnlinvc
0
400
Swift Actor 實作探索
johnlinvc
0
130
用 mruby 來寫跨平台工具
johnlinvc
0
56
Actor model 簡介
johnlinvc
0
160
一起玩 Helm 3
johnlinvc
1
100
為什麼 App 卡卡的
johnlinvc
2
1.1k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
160
Other Decks in Programming
See All in Programming
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
170
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
100
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
330
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.7k
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
Jakarta EE meets AI
ivargrimstad
0
610
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Site-Speed That Sticks
csswizardry
0
24
A better future with KSS
kneath
238
17k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Producing Creativity
orderedlist
PRO
341
39k
Speed Design
sergeychernyshev
25
620
GraphQLとの向き合い方2022年版
quramy
43
13k
Transcript
Swift पใ 2017/02/07 John Lin @johnlinvc
From the core • Swift 3.1 dev շর ቮ։์Լࡌ •
Swift Evolution 㐫ଶท • Swift ํ Docker image
Swift 3.1 dev շর • Swift 3.1 త։ᚙ൛ቮៃՄҎԼࡌྃ •
3.0 ݪ࢝ᛰԼ૬༰ɼ༻ -swift-version=3.0 बՄ Ҏ႔ཧ 3.0 తݪ࢝ᛰ
Swift Evolution 㐫ଶท • https://apple.github.io/swift-evolution/ • ՄҎ౸ॴ༗త proposal త㐫ଶɼؐ༗૬ሣጯత Jira
Issueɻ
Swift ํ docker image • https://hub.docker.com/r/library/swift/ • ՄҎෆ༻linux बೳ䋯Ubuntu 16.04
Swift
Evolution • SE-0147 ኑআ UnsafeMutablePointer.initialize(from:)ɼվ༻ UnsafeMutableBufferPointer • SE-0148 ᔟܕSubscript •
SE-0149 ฤा૬ґ݅࣌ՄҎࠌུ൛ຊ • SE-0150 ݅ཧثՄҎબᎩBranch
SE-0147 ኑআUnsafeMutablePointer.initialize(from:)ɼ վ༻ UnsafeMutableBufferPointer • ҎલՄҎ Array(Collection) UnsafeMutablePointɻෆա༗ᖅࡏత෩ᯃɻ Collection
త Count Ꮠ༗Մೳൺመࡍత߲গɼ။ buffer overflowɻ • ৽తվ༻Sequence ҰݸҰݸ႔ཧɼՌෆԼɼ။ ճၚᔒ༗ޭతୈҰݸ Iteratorɻ
SE-0148 ᔟܕSubscript • ݱࡏsubscript ᦒવՄҎଟࡌɼୠෆೳ༻ᔟܕɼ㑌࣍ ཁॏሜຑɻ • ະိsubscript ՄҎࢧԉᔟܕɻॴҎՄҎ၏ࣗݾత Collection
SE-0149 ฤा૬ґ݅࣌ՄҎࠌ ུ൛ຊ • ։ᚙ݅త࣌ީɼՄҎࢦఆ༻ຊػత૬ґ݅ɻ • ൺํ㘸 libHello ༗㠥Ұݸൣྫ݅ɼHelloWorldɻҎ લతྲྀఔੋ
վlibHello -> ᚙlibHello -> վ HelloWorldɻ ୠੋՌࡏHelloWorld ཫ۰౸ libHello తɼबඞਢॏ৽ᚙ䆋ෆํศɻະိՄҎࢦఆ HelloWorld ࡏ։ᚙ࣌༻ຊػత libHelloɻ
SE-0150 ݅ཧثՄҎબᎩ Branch • ݱࡏత ݅ཧثੋ༻ git tag ိܾఆ൛ຊతɻ •
ᔒ༗tag త݅बෆೳɻෆํศ • ະိՄҎ༻ .Package(url: “url”, branch: “dev”) ိࢦఆ branch • ՄҎ༻ .Package(url: “url”, revision: “1234567890123456789012345678901234567890”) ိࢦఆ commit • ။ᒾҰ revision ੋෆੋ40ݸࣈత hash
Community • ݱࡏ༗ෆᜦఆతํ๏ᩋC ༻ Swift ఔࣜݿ
ᩋC ༻ Swift ఔࣜݿ • https://lists.swift.org/pipermail/swift-users/Week-of- Mon-20170109/004384.html • @_cdecl(“bar_foo") public
func foo(x: Int) -> Int { return x } • ࡏ C बՄҎݺڣ bar_foo • શෆᜦఆɼᔒࣄෆཁ༻