Another interesting project today: https://github.com/drogus/jawsm. A (subset of) JavaScript to #WebAssembly compiler written in Rust, similar to porffor in a way that it also results in a standalone #Wasm binary that can be executed without an interpreter. 👀
GitHub - drogus/jawsm: JavaScript to WASM compiler

JavaScript to WASM compiler. Contribute to drogus/jawsm development by creating an account on GitHub.

GitHub
@tomayac Why would anybody compile #JS to #WASM when there is #AssemblyScript? There are also JS runtimes in WASM: @boa_engine, Javy, Dukweb and QuickJS-emscripten.
@niutech AssemblyScript isn't JavaScript nor TypeScript. And by compiling directly to Wasm, you don't need to ship an engine. Also, because they can… ;-)

@niutech @tomayac note that Boa is not a JS runtime in WASM.

Boa is a JS engine (similar to V8) in Rust, with no runtime, that can be compiled to WASM in order to execute JS in a WASM environment.