Quantcast
Channel: A single-file WebAssembly html demo - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by btwiuse for A single-file WebAssembly html demo

This is a well commented example I found on Gist. Embed the code in your <script> tags and you get a "A single-file WebAssembly html demo"Copied here for convenience:// this code is from a simple...

View Article



Answer by Vi. for A single-file WebAssembly html demo

Done myself:<script>var wasm_base64;var wasm_buffer;var wasm;var wasm_instance;function hw() { wasm_base64 = "AGFzbQEAAAABBwFgAnx8AXwDAgEABwoBBm15X2FkZAAACgkBBwAgACABoAs="; wasm_buffer =...

View Article

A single-file WebAssembly html demo

Where can I find a simplest one-file demo showing usage of WebAssembly in html?JavaScript example is easy:<script>function hw() { console.log("Hello, world."); }</script><button...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images