3 days ago · Tech · 0 comments

Last year I ported an image processing pipeline from JavaScript to Rust compiled to WebAssembly. The JS version took 1.2 seconds to apply a chain of filters — blur, sharpen, color correction, resize — to a 4K image in the browser. The Rust Wasm version did the same work in 58 milliseconds. Not a typo. A 20x speedup, running in the same browser, on the same machine, called from the same React app.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.