Live demos for the article series on handling heavy computation in JavaScript without freezing the UI.
| File | Description |
|---|---|
naive.html |
Baseline — processing on main thread (UI freezes) |
worker.html |
Web Worker — processing in background thread |
transferable.html |
Transferable Objects — zero-copy data transfer |
shared.html |
SharedArrayBuffer — shared memory between threads |
wasm.html |
WebAssembly — native-speed computation |
MIT