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
130
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
130
Unearth Ruby builtin Gems 發掘 Ruby 的內建 Gems
johnlinvc
0
260
Ruby 型別檢查工具簡介
johnlinvc
0
470
Swift Actor 實作探索
johnlinvc
0
160
用 mruby 來寫跨平台工具
johnlinvc
0
77
Actor model 簡介
johnlinvc
0
190
一起玩 Helm 3
johnlinvc
1
120
為什麼 App 卡卡的
johnlinvc
2
1.2k
如何使用 byebug 來除錯 Ruby 程式
johnlinvc
0
200
Other Decks in Programming
See All in Programming
顧客の画像データをテラバイト単位で配信する 画像サーバを WebP にした際に起こった課題と その対応策 ~継続的な取り組みを添えて~
takutakahashi
4
1.3k
NPOでのDevinの活用
codeforeveryone
0
900
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
130
The Modern View Layer Rails Deserves: A Vision For 2025 And Beyond @ RailsConf 2025, Philadelphia, PA
marcoroth
2
730
AWS Summit Japan 2024と2025の比較/はじめてのKiro、今あなたは岐路に立つ
satoshi256kbyte
1
120
High-Level Programming Languages in AI Era -Human Thought and Mind-
hayat01sh1da
PRO
0
880
階層化自動テストで開発に機動力を
ickx
0
150
リバースエンジニアリング新時代へ! GhidraとClaude DesktopをMCPで繋ぐ/findy202507
tkmru
3
990
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
1k
Hack Claude Code with Claude Code
choplin
7
2.6k
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
Porting a visionOS App to Android XR
akkeylab
0
680
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
The Language of Interfaces
destraynor
158
25k
A Tale of Four Properties
chriscoyier
160
23k
Fireside Chat
paigeccino
37
3.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Making Projects Easy
brettharned
116
6.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
The World Runs on Bad Software
bkeepers
PRO
70
11k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
BBQ
matthewcrist
89
9.7k
Code Review Best Practice
trishagee
69
19k
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 • શෆᜦఆɼᔒࣄෆཁ༻