TLDR
We will use this knowledge in a practical scenario: image manipulations with WebAssembly. We will demonstrate a typical use-case by a simple function for converting an image to grayscale. The calculation of the gray color is not very demanding, it clearly demonstrates the real-world usage of WebAssembly on the web: computation-intensive tasks. You might first recall how to use a web browser as a Wasm runtime, but the code is quite straight-forward: Fetch(fetch( 'grayscale.wasm) )via the TL;DR App
no story
Written by ttulka | Software engineer and random thoughts generator.