~/talk

All The Memory Safety Of C Combined With All The Blazing Speed Of JavaScript

Talkat React Rally 2019 · 2019-08-22..08-23· [webassembly, rust]
name:Sarah Lim
links:none on file
slides:none on file

Claim: WebAssembly gives C-like memory safety with JavaScript-level speed. Demo uses WasmExplorer, Rust and the wasm-trace repo to compile and instrument binaries, adding prologue/epilogue instructions and using tee_local to copy return values so tracing doesn’t break execution. Instrumented modules write events into linear memory (viewable via WebAssembly.memory/ArrayBuffer) as integers like [0,72,2,-10]. The toolchain runs in-browser and the tracer works end-to-end.

AI-written summary · about

  1. 0:00Start
  2. 1:48Javascript Developer
  3. 4:59Why Does Web Assembly Matter
  4. 9:25Linear Memory
  5. 9:54Structured Control Flow
  6. 10:45Compilation Target for High-Level Languages
  7. 11:02Function Get Compiled to Webassembly
  8. 12:53The Stack Machine
  9. 14:53Addition
  10. 18:53Dtrace for Web Assemblies
  11. 21:08Exposed Tracer
  12. 22:44Write the Return Value to Memory
  13. 27:37Memory Safety
  14. 28:24Typing Rules
  15. 29:45Formal Semantics Validation
~/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.