Let’s build a JavaScript Engine in Rust
summary
A JavaScript engine written in Rust called Boa implements a scanner, parser, AST and evaluator layered on LOVM and a GC library, supports let/const, arrow functions, console logging and the spec’s environment/record lookup so scopes resolve correctly, exposes the runtime to browsers via WebAssembly binding and executes JS in‑browser, reports working demos, highlights lazy parsing and concurrency for speed, and targets JIT work and Test262 coverage.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:41Jason Williams
- 4:26Memory Safety
- 9:01Rust Pattern Matching
- 9:13Pattern Matching
- 10:51Pattern Match on Tokens
- 19:38Scope Chain
- 21:02Performance Opportunities
- 21:47Concurrency
- 25:55Final Demo
related talks
45mInteraction with real-world JavaScript from compiled Rust
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
29mJavaScript at the speed of Rust: Oxc
30mUnderrated gems of Rust & WebAssembly: Errors, Async, I/O
22mExtending JavaScript with Rust
23mLearnable Programming with Rust
30mRust and the Web Platform: A Rookie’s Guide
41mLet's build with WebAssembly!
