Ask HN: Real-world examples of WASM usage on FE

7 points by hknmtt ↗ HN
Simple question - are people(developers) actually using WASM in production for front-end and if yes, what for?

7 comments

[ 4.9 ms ] story [ 32.5 ms ] thread
All of the avionics for Microsoft Flight Simulator are made in WASM.
Yours is a fair question. I think that, right now, adoption of WebAssembly is quite limited. On the other hand (here at LeanigTech) we are extremely bullish about its potential.

We believe that this technology would be adopted more with better tooling. Our main contribution to this space is Cheerp: A C++-to-WebAssembly _and_ JavaScript compiler (https://github.com/leaningtech/cheerp-meta/). It is designed to seamlessly take advantage of Wasm without sacrificing easy access to Web APIs, all from within C++ with no need of post-processing and glue code.

We know for a fact that amazing products can be build with Cheerp, because we have done it ourselves.

CheerpX is a x86 virtual machine running in the browser, fully written in C++ and compiled with Cheerp. It includes a JIT-compiler that is able to analyze x86 binary code and emit new WebAssembly modules on the fly.

Our most impressive demo yet (WebVM) is available here: https://webvm.io/

krunker.io

We play it often at work and it's always amazing what's doable in there and the performance is really good