1. React
  2. React Rally
  3. 2019
  4. All The Memory Safety Of C Combined With All The Blazing Speed Of JavaScript

Editor's Choice

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

Do you have a vague understanding of WebAssembly, but don't quite get it? Sarah, gently, unmasks the black box of WASM and shows its innerworkings.

Sarah Lim at React Rally 2019

According to the website, WebAssembly is "a binary instruction format for a stack-based virtual machine, designed as a compilation target for higher-level languages like C++ and Rust." One year ago, I knew what some of those words meant. Now I understand all of them, and my goal is to share this understanding with you, fellow JavaScript programmer. We'll deep-dive into the WASM linear memory model and execution semantics, and explore how to interact with WASM modules using the JavaScript API. If calling C++ a "high-level language" makes you feel slightly ill, you are the target audience member for this talk. The title, by the way, is a reference to A Brief, Incomplete, and Mostly Wrong History of Programming Languages by James Iry, which you should read immediately. Links: 📊 Slides: http://sarahlim.com/react-rally-2019/ 🧮 Fiddle: https://mbebenita.github.io/WasmExplorer/ 🦀 Rust code: https://github.com/sarahlim/wasm-trace