~/talk

The Journey of Swift's WebAssembly Support

TalkinJapaneseat iOSDC Japan 2020 · 2020-09-19..09-21· [webassembly, swift]
links:none on file
slides:none on file

The talk describes how SwiftWasm enables compiling Swift to WebAssembly by using a patched Swift calling convention in LLVM and a SIL-level cross-module dead-code-elimination pass to strip unused protocol methods. It covers a browser playground that compiles server-side to Wasm and runs in the browser, and tooling such as JavaScriptKit, Carton, and the SwiftUI-compatible Tokamak; size optimizations reduced a hello-world from 8.5MB to 3.5MB, though ICU and standard-library granularity still bloat output.

AI-written summary · about

  1. 0:00Swift WebAssembly intro
  2. 6:28Road to WebAssembly support
  3. 9:19LLVM to WebAssembly
  4. 10:23SwiftPM core components
  5. 11:54JavaScriptKit and Carton
  6. 12:41SwiftUI-compatible UI lib
  7. 13:26Binary size bloat causes
  8. 15:39GSoC achievements
  9. 18:40Current status and future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.