~/talk

Simulating Sand: Building Interactivity With WebAssembly

Talkat JSConf EU 2019 · 2019-06-01..06-02· [webassembly, rust]
slides:none on file

A falling-sand engine called Sand Spiel runs a 2D grid at ~60 frames a second, with per-cell update functions (sand checks below and diagonals) moved into WebAssembly for speed and the UI kept in 50% JavaScript and 50% Rust. Tooling uses wasm-pack to compile Rust to a JS module. The result scales far beyond a JS-only prototype, supports user uploads and forking, but surfaces moderation and trust trade-offs despite WebAssembly’s sandbox.

AI-written summary · about

  1. 0:00Start
  2. 1:22Falling Sand Games
  3. 4:12Powder Game
  4. 10:07Demo
  5. 10:52Web Assembly
  6. 16:16Web Assembly Code
  7. 16:59Sand Update Function
  8. 20:25Manual Moderation
~/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.