We designed the DSL kernels in Blosc2 so that they could be used in the main platforms, and nowadays this necessarily includes Web Assembly (WASM) in the browser.

We also implemented a new JIT compiler for WASM specially meant for Blosc2 DSL kernels.

Look at this online notebook: https://cat2.cloud/demo/roots/@public/examples/mandel-jit-vs-nojit.ipynb
where we run of a Mandelbrot DSL kernel, with and without JIT. You can even run it yourself by just clicking in the "Run" button.

Enjoy!

#WASM, #Pyodide #HPC