Unlocking Javascript: V8 on RISC-V
summary
A V8 backend for RISC-V (rv64g) compiles and runs JavaScript and WASM using the V8 assembler, embedded simulator and node.js; the port passes about 17,000 V8 tests (≈99% on simulator and after fixes ≈99% on HiFive Unleashed hardware) and about 3,000 node tests with ~13 failures. Build uses the turbo assembler/CSA layering, d8 for debugging, npm for examples, and an embedded simulator to speed development; roadmap targets HiFive Unleashed and upstreaming.
AI-written summary · about
chapters (12)
- 0:00Introduction to V8 on RISC-V
- 1:46Why V8 for RISC-V ecosystem
- 3:31V8 architecture overview
- 8:43Strategy for porting V8
- 12:12Assembler and simulator development
- 15:42Demo: Low-level tests on simulator
- 16:44Demo: Running JavaScript in d8
- 17:47Demo: Node.js on RISC-V
- 19:54Testing status and benchmarks
- 21:40Lessons learned and simulator impact
- 23:02Open source progress and community
- 24:25Future roadmap and call to action
related talks
08mPorting and Optimization V8 for RISC-V
17mV8 engine, JS Code Interpretation, and Execution
23mJoin the super secret V8 club & become a JavaScriptbender
01h 00mV8 Under the Hood
22mBun, Deno, Node.js? Recreating a JavaScript runtime from Scratch
22mHigh Performance JS in V8
14mBuilding a JavaScript runtime
36mSelf-hosted JS
