Rust - embedding WebAssembly for scripting
WebAssembly in non-Javascript environments
- Track: Rust devroom
- Room: H.2214
- Day: Sunday
- Start: 16:00
- End: 16:25
Rust is associated with performance, memory safety and control of memory usage. Embedding dynamic runtimes such as for Lua or Javascript for dynamic scripting within the Rust-App would introduce an huge overhead. A WebAssembly-engine seems to be a good choice as compact and portable runtime environment. JIT-compiler may be used in future to transform WASM files to native code.
The talk will present WebAssembly technology and the benefits and pitfalls integrating it into a Rust-app. Small routines are implemented in C++/Rust and compiled to Wasm. The Rust-App is loading the wasm-code as plugin at runtime to execute dynamic tasks.
Speakers
Frank Rehberger |