Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swift ABI Stability Manifestoを読む

Yad
February 08, 2017

Swift ABI Stability Manifestoを読む

2017/2/8 Kyobashi.swift x AKIBA.swift 合同勉強会 発表資料

Yad

February 08, 2017
Tweet

More Decks by Yad

Other Decks in Programming

Transcript

  1.  ҆ୡɹ༐Ұ • 2013/12 ೖࣾ • TwitterID: @UsrNameu1 • Github:

    https://github.com/ UsrNameu1 • Blog: http://dev.classmethod.jp/ author/yad • ObjC/Swift/Scala/Python(R)
  2. "#*ΛֶͿಈػ  ⡥$MBTTNFUIPE *OD $ISJT-BUUOFSͷ఩ֶ ΋͏ͻͱͭɺLLVMΛܰྔͳ··ʹอͪଓ͚͍ͯΔେ͖ͳಛ௃͕͋Δ (ϥΠϒϥϦΛ࢖͏ΫϥΠΞϯτଆ͔ΒݟΔͱࢍ൱྆࿦͕͋Δ)ɻ ͦΕ͸ɺաڈͷܾஅ΋ੵۃతʹݟ௚ͯ͠ɺաڈͱͷޓ׵ੑΛؾʹͤͣʹAPIΛ େ͖͘มߋ͍ͯ͘͠ͱ͍͏͜ͱͩɻ ͨͱ͑͹LLVM

    IRࣗମʹେ෯ͳมߋΛՃ͑Δʹ͸ɺ͢΂ͯͷ࠷దԽύεͷมߋ ͕ඞཁʹͳΔɻ ͦͯͦ͠Ε͸ɺC++ͷAPIʹ΋େ͖ͳӨڹΛٴ΅͢ɻ LLVMͰ͸աڈʹԿ౓͔ͦ͏͍͏͜ͱ͕͋ͬͨɻ ΫϥΠΞϯτଆʹͱͬͯ͸ਏ͔ͬͨͩΖ͏͕ɺࠓޙͷ։ൃΛॱௐʹਐΊ͍ͯ͘ ͨΊʹ͸ͦ͏͢΂͖ͩͬͨɻ
  3. "#*҆ఆԽ  ⡥$MBTTNFUIPE *OD w όʔδϣϯ͕ҧ͏ίϯύΠϥͰϏϧυͨ͠ΞϓϦʹ04 ඪ४ϥΠϒϥϦΛಉࠝ͢Δඞཁ͕ͳ͘ͳΔ #FGPSF "#* -JC

    #JOBSZ "GUFS   "QQ #JOBSZ OFX04 PME04 ͇ ҟͳΔ7FSͷϥΠϒϥϦͰ͸ "#*ޓ׵ੑ͕ͳ͍ ɹɹɹɹɹɹɹˣ 04ͷΞοϓσʔτͰ-JCόΠφϦͷ *'Λҡ࣋Ͱ͖ͳ͘ͳΔ
  4. "#*҆ఆԽ  ⡥$MBTTNFUIPE *OD w όʔδϣϯ͕ҧ͏ίϯύΠϥͰϏϧυͨ͠ΞϓϦʹ04 ඪ४ϥΠϒϥϦΛಉࠝ͢Δඞཁ͕ͳ͘ͳΔ #FGPSF "GUFS 

     0 OFX04 PME04 ҟͳΔ7FSͷϥΠϒϥϦͰ͸ "#*ޓ׵ੑ͕͋Δ ɹɹɹɹɹɹɹɹˣ 04ͷΞοϓσʔτͰ-JCόΠφϦͷ *'͸ҡ࣋͞ΕΔ ɹɹɹɹɹɹɹɹˣ "QQόΠφϦ͔Β৽-JCόΠφϦΛ ݺͼग़ͯ͠΋໰୊ͳ͍