~/talk

Introduction to WebAssembly for Swift Developers

Talkat SwiftLeeds 2024 · 2024-10-08..10-09· [swift, webassembly]
slides:none on file

Swift gains experimental WebAssembly target in upstream snapshots from swift.org and uses embedded Swift to compile modules. The demo uses wasm kit as a Swift package runtime and Hummingbird on the server to load wasm modules, import an audio WASI-like host function, and mix multiple ~100 KB Swift-compiled plugins into a combined audio stream generated on the fly. Examples include a factorial returning a 64-bit result (factorial(10)) and a Hello World that reads linear memory via host imports, and the system runs successfully.

AI-written summary · about

  1. 0:00Introduction to Swift Wasm
  2. 1:01What is WebAssembly
  3. 4:04Wasm Module Architecture
  4. 8:03Executing Wasm Instructions
  5. 11:02Wasm Text Format Demo
  6. 18:59Wasm Runtime and Security
  7. 21:32Swift Wasm Server Demo
  8. 31:07Conclusion and Resources
~/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.