~/talk

Improving web app with Rust and WASM

Talkat RustCon Asia 2019 · 2019-04-20..04-23· [rust, webassembly]

Comparison shows Rust+WebAssembly replacing hot JavaScript paths in a React + three.js app, using wasm-bindgen and wasm-pack with webpack to build npm modules. Benchmarks use arrays of about 60,000 input values and ~30,000 outputs; raw compute is small (≈2 ms) but data marshaling costs roughly 20% transfer overhead. Typical speedup is ~1.3× in production builds, spikes to ~6× in some dev/Edge runs. End result: selection and collision code moves to Wasm, reducing GC pauses and improving frame budgets.

AI-written summary · about

  1. 0:00Start
  2. 2:50Webassembly
  3. 9:46Performance
  4. 16:48Outcomes
  5. 19:303d Collisions
  6. 26:16Std Web Draw Script Bindings
  7. 28:10Debugging Webassembly
~/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.