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
81
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
220
Ruby 型別檢查工具簡介
johnlinvc
0
420
Swift Actor 實作探索
johnlinvc
0
140
用 mruby 來寫跨平台工具
johnlinvc
0
66
Actor model 簡介
johnlinvc
0
170
一起玩 Helm 3
johnlinvc
1
110
為什麼 App 卡卡的
johnlinvc
2
1.1k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
180
Other Decks in Programming
See All in Programming
ソフトウェアエンジニアの成長
masuda220
PRO
12
2.2k
Honoとフロントエンドの 型安全性について
yodaka
7
1.5k
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
120
Ça bouge du côté des animations CSS !
goetter
2
160
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.8k
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
170
AWS Step Functions は CDK で書こう!
konokenj
5
850
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
830
良いコードレビューとは
danimal141
9
6.5k
ML.NETで始める機械学習
ymd65536
0
240
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
500
Boos Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
590
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1369
200k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
260
How STYLIGHT went responsive
nonsquared
99
5.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Code Reviewing Like a Champion
maltzj
521
39k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Thoughts on Productivity
jonyablonski
69
4.5k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.3k
Docker and Python
trallard
44
3.3k
Practical Orchestrator
shlominoach
186
10k
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 • શෆᜦఆɼᔒࣄෆཁ༻