~/talk

Practical Rust for Web Audio

Talkat EuroRust 2024 · 2024-10-10..10-11· [rust, webassembly]
links:none on file
slides:none on file

Documents building a low level web audio engine in Rust and what actually worked: Rust compiles into WebAssembly but initial builds bloat to 1.3 MB initial WASM bundle until link time optimization wasm‑strip and shrinker trimming cut size; processing runs inside an AudioWorkletProcessor in Rust with data passed via shared array buffer to avoid GC pauses; allocations happen once in the constructor using tiny allocators like mini‑alloc or tal; the result meets the ~128 frame / ~2.6 ms render quantum and yields predictable realtime processing.

AI-written summary · about

  1. 0:00Rust and web audio intro
  2. 3:56JavaScript vs Rust in browser
  3. 6:02Audio processing challenges
  4. 9:16Beast of two indexes demo
  5. 13:45Web Audio API and Rust
  6. 17:57Optimizing Rust for WASM audio
  7. 20:11Rust audio crates outlook
~/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.