~/talk

Using Rust and WASM

Talkat Conf42 Rustlang 2024 · on Thursday, 2024-08-22· [webassembly, rust]
linkedin:vivalaakam
slides:none on file

Rust compiled to WASM claims near‑native speed for CPU‑heavy work and shows concrete steps: add the wasm32-unknown-unknown target, install wasm-pack, and use wasm-bindgen plus js‑sys/web‑sys to produce a .wasm plus JS glue and TypeScript types. Use wasm‑opt and wee_alloc to shrink binaries, generate source maps for debugging, and run the module from a simple static server. Works well for games, neural nets, video filters and crypto; watch out for large downloads, limited web APIs and cross‑call overhead—combine calls and use web workers.

AI-written summary · about

  1. 0:00intro
  2. 0:26what is webassembly?
  3. 1:28why rust developers should care about webassembly
  4. 1:58key benefits of webassembly
  5. 5:12webassembly in action: use cases
  6. 8:30building your first webassembly application
  7. 12:42optimizing webassembly performance
  8. 14:11integration with javascript
  9. 17:25challenges and limitations of webassembly
  10. 19:05conclusion and final thoughts
~/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.