How Webassembly Will Change the Way You Write Javascript
summary
Demos compile asm.js/C/rust down to a shared AST/wasm binary (look for the header \0asm), load it in Node via instantiateModule + Uint8Array and export it as a normal JS module. An add function matches JS speed but a recursive Fibonacci shows ~2x speed on fib(24+). Tooling requires specific compiler git commits to match V8 (Node v7 / V8 5.4) and is unstable — the demos run but this is not yet production-ready.
AI-written summary · about
chapters (4)
related talks
41mLet's build with WebAssembly!
39mWebAssembly for the rest of us
41mCreating High-Performance Web Apps with WebAssembly
53mWebAssembly – To the browser and beyond!
36mPractical WebAssembly
23mWebAssembly for the rest of us
26mWebAssembly as cross-platform architecture?!
36mWhy you should consider Web Assembly in your next frontend project
