~/talk

An Introduction to WebAssembly

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [webassembly, web-platform]
slides:none on file

Explains what WebAssembly actually is: a browser bytecode VM that exports/imports functions, shares memory via ArrayBuffer, and cannot touch the DOM directly so JavaScript bridges are required. Demos compile a WebAssembly Text Format fizzbuzz that encodes strings in linear memory, returns -1/-2/-3 for fizz/buzz/fizzbuzz, and takes three days to get string handling working; then swaps to Rust to produce a wasm module and all tests pass. Uses wabt (wat2wasm), a VS Code toolkit, and recommends instantiateStreaming for better performance.

AI-written summary · about

  1. 0:00Start
  2. 16:10How Virtual Machines Work
  3. 18:10WebAssembly in the Browser
  4. 21:41A Simple WebAssembly Module
  5. 22:30WebAssembly is Stack-based
  6. 23:14Add & Push
  7. 24:55Using the Modules
  8. 25:13Importing & Exporting Functions
  9. 26:45Instantiating Modules with Imports
  10. 27:05Start Function
  11. 28:55Shared Memory
  12. 31:01Storing Strings
  13. 32:32Using Stored Strings
  14. 34:59Other Languages
  15. 54:20Resources
~/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.