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

Swift5.0 ABI安定化について

t.goda
October 25, 2019

Swift5.0 ABI安定化について

Swift5.0 と Swift5.1 のABI安定化とModule安定化について

t.goda

October 25, 2019
Tweet

More Decks by t.goda

Other Decks in Programming

Transcript

  1. ABI安定化したらどうなるの? • バージョンの異なるSwiftでビルドされたバイナリをそのまま使用できる • “Swift 5 provides binary compatibility for

    apps: a guarantee that going forward, an app built with one version of the Swift compiler will be able to talk to a library built with another version” • もういちいちライブラリのビルドされてるバージョンとか確認しなくてよくな るんだ!!! • やった!!! • 我々は解き放たれた!!!
  2. ABI安定化についてもう少し • SwiftのABI安定化はランタイム時のSwiftバージョンの混在を許容するもの • “ABI stability is about mixing versions

    of Swift at run time” • ではコンパイル時のバージョン差分は……? • 吸収してくれない • Swift5.0でコンパイルされたものとSwift5.1でコンパイルされたものは混在 できない