~/talk

Why you should consider Web Assembly in your next frontend project

Talkat NDC London 2021 · 2021-01-25..01-29· [webassembly, web-platform]
slides:none on file

WebAssembly runs near‑native code in the browser by compiling languages like Rust to a compact .wasm binary and shipping a glue layer (wasm-bindgen + wasm-pack produces .wasm, .js and .d.ts which can be published to npm); the presenter compiles Rust with the target wasm32-unknown-unknown and demonstrates a working Game of Life demo with interactivity via a toggle_cell JS binding. WebAssembly exposes four primitive types, about 70 built-in ops, shows lower variance and faster runs than JS across Chrome/Firefox/Safari, and can also run server-side via WASI/wasmtime.

AI-written summary · about

  1. 0:00Start
  2. 2:26Web Assembly
  3. 3:03JavaScript vs WebAssembly
  4. 6:05WASM example (1)
  5. 10:43Using cargo
  6. 12:16How to compile rust programs to wasm
  7. 12:58Rust example (4)
  8. 15:58Rust example (5): Use the package
  9. 16:17Rust example (6)
  10. 17:20Game of life
  11. 20:33Code overview: index.html
  12. 24:54Examples: AutoCAD
  13. 32:10Pyodide
  14. 34:01Blazor
~/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.