WebAssembly seems much more closer
I already heard about it but not really.
It appeared again as a post https://harshal.sheth.io/2022/01/31/webassembly.html From where it took me to the https://developers.google.com/web/updates/2019/02/hotpath-with-wasm Which is awesome and I have some quick notes:
- Long running js parts, hot-paths, which are not good optimized by browsers, can be compiled in WebAssembly
- Different browsers have different optimization strategies for js
- You can write in TypeScript for WebAssembly using https://github.com/AssemblyScript/assemblyscript