RUST · WEBASSEMBLY · EMSCRIPTEN
Rust can change the DOM.
This page is rendered by HTML and CSS, but the message below is created by Rust running as WebAssembly in your browser.
Live demonstration
Waiting for the Rust WebAssembly module...
The Rust module has not reported its result yet.
InitializingWhat happens?
- The browser loads the Emscripten JavaScript glue.
- The glue loads and initializes the WebAssembly module.
- Rust calls an imported JavaScript DOM function.
- That function updates the HTML elements on this page.