~/talk

How I Found the Meaning of Life Thanks to WebAssembly

TalkinFrenchat Devoxx France 2024 · 2024-04-17..04-19· [webassembly, creative-coding]
links:none on file
slides:none on file

A developer implements Conway’s Game of Life in the browser and measures performance: naive JavaScript on a 100×100 grid spends most time computing cell state, so computation is moved into a Rust WebAssembly (wasm) module built with wasm-pack and integrated via generated JS. Rendering stays the bottleneck, so the approach compromises by rendering every frame or every 10th generation; benchmarks show the Rust/Wasm compute time stays much lower than JS as grid size increases.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Game of Life discovery
  3. 3:39Game of Life rules
  4. 5:26Naive JavaScript impl
  5. 7:57Performance crisis
  6. 9:46WebAssembly discovery
  7. 11:56Optimization results
  8. 13:41Performance gains
  9. 14:43JS vs WASM comparison
  10. 15:06Conclusion
~/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.