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

Getting Started with Swift WebAssembly

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for Yuta Saito Yuta Saito
September 07, 2019

Getting Started with Swift WebAssembly

iOSDC 2019

Avatar for Yuta Saito

Yuta Saito

September 07, 2019

More Decks by Yuta Saito

Other Decks in Programming

Transcript

  1. 5ISPXTͳؔ਺ݺͼग़͠ typealias NonThrowableFunc = () -> Void typealias ThrowableFunc =

    () throws -> Void let f: NonThrowableFunc = {} let g: ThrowableFunc = f try g() 9
  2. ϥϯλΠϜදݱ 4XJGU෩ typealias NonThrowableFunc = () -> Void typealias ThrowableFunc

    = (inout Error) -> Void let f: NonThrowableFunc = {} let g: ThrowableFunc = f var error: Error try g(&error) Ҿ਺ͷ਺͕૿͑ͯΔ https://speakerdeck.com/omochi/swiftfalseguan-shu-xing-falseshi-xing-shi-biao-xian 11
  3. 15