~/talk

A State Of WebAssembly - The Browser is now a real VM

Talkat GrillJS 2019 · 2019-09-07..09-08· [webassembly, rust]
slides:none on file

Demo compiles Rust via Rust + LLVM into WebAssembly, uses wasm-pack/wasm-bindgen to wire Rust functions and JS APIs, and implements a simple blockchain miner to compare throughput: JavaScript runs ~340 rounds in 8s (~26 ms/round) while the WASM build hits 912 rounds in 10s (~12 ms/round). Shows linear memory and string-by-pointer plumbing, notes only four primitive WASM types, current single-thread limits (web workers workaround), and upcoming streaming compile and multithreading.

AI-written summary · about

  1. 0:00Introduction to WebAssembly
  2. 3:07History of JavaScript evolution
  3. 7:10What is WebAssembly
  4. 10:01Stack-based vs register-based VMs
  5. 13:54WebAssembly and JavaScript engines
  6. 16:00Why Rust for WebAssembly
  7. 18:31Running WebAssembly in browsers
  8. 21:29Linear memory in WebAssembly
  9. 24:23Wasm-bindgen and tooling
  10. 28:22WebAssembly in blockchain demo
  11. 34:25Current WebAssembly status
  12. 36:35WebAssembly security features
  13. 38:46Future of WebAssembly
  14. 39:29Conclusion and Q&A
~/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.