~/talk

Adventures in Making Wasm Fast and More Secure

Talkat WAW 2025 · on Monday, 2025-01-20· [webassembly, security]
links:none on file
slides:none on file

A practicality-first toolchain moves real C/C++ libraries into WebAssembly sandboxes using RLBox to auto-insert taint types and require sanitizers, and wasm2c + clang/GCC to round-trip SIMD code; Firefox ships multiple sandboxed libraries across Linux, macOS, Windows and Android with typical overheads cut from ~30–40% to ~7% (XML parsing 7%, font decompression ~10%). An automated sanitizer checker finds missed checks, a segmentation-based backend segue removes up to ~75% of Wasm overhead and shrinks binaries ~6%, and a small CPU extension design (HFI) targets near-zero isolation cost.

AI-written summary · about

  1. 0:00Introduction
  2. 1:44Why WebAssembly for security
  3. 3:54In-process sandboxing challenges
  4. 7:48Introducing RLbox
  5. 10:36RLbox in Firefox production
  6. 14:52Performance improvements
  7. 18:47Security benefits of RLbox
  8. 21:1632-bit CPU challenges
  9. 24:05Automating sanitizer checks
  10. 25:53Verifying WebAssembly security
  11. 29:01Speculative execution safety
  12. 32:15Hardware acceleration for isolation
  13. 35:48CPU extensions for WebAssembly
  14. 38:38Future of Wasm adoption
~/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.