Runtime Scripting for Rust Applications
summary
Compares scripting options for Rust and demonstrates embedding the Deno runtime into a Rust app via rusty_v8 and deno_core/deno_runtime, exposing native functions as ops with the new ops import syntax and fine‑grained sandbox permissions. Shows a working example where JavaScript mutates shared state—host state = 42—incremented by 2 and 3 and read back from Rust, explains TypeScript transpile via swc and tradeoffs for strings, performance, and hot‑reload.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:18Why use scripting in Rust
- 4:55Scripting language options
- 13:26Embedding Deno in Rust
- 19:27Practical implementation demo
- 25:11Resources and conclusion
related talks
30mRust in the Browser for Javascripters:New Frontiers,New Possibilities
23mRebuilding in Rust for Good Reason
14mBuilding a JavaScript runtime
45mInteraction with real-world JavaScript from compiled Rust
22mExtending JavaScript with Rust
20mPractical Tips on DOM and JS APIs from Rust
55mNode.js N-API for Rust
26mJavaScript Won the Web, Rust Is Taking the Critical Path
