Using Emscripten/WebAssembly in web workers and interacting with native C/C++ code concurrently
What problem are we trying to solve? JavaScript runs in a single thread per web-page in the browser. This limitation prevents CPU intensive work on client side (encoding/decoding, complex calculations, etc...). Let's see how WASM and WebWorkers help pull through these problems by porting native C/C++ libraries to the web…