it can compile js files into c files embedding the bytecode inside
But it isn't translate or transform js to wasm, is it? It just compiles js engine with embedded js code into wasm and then inside wasm the engine interprets this js code.
But it isn't translate or transform js to wasm, is it? It just compiles js engine with embedded js code into wasm and then inside wasm the engine interprets this js code.
it embeds the bytecode into c files and uses the runtime to launch it
I mean that there are two ways: 1. you can directly translate a code on some language (not only JS) to wasm like the AssemblyScript approach and 2. you can translate to wasm the interpreter and then run a code on it.
I mean that there are two ways: 1. you can directly translate a code on some language (not only JS) to wasm like the AssemblyScript approach and 2. you can translate to wasm the interpreter and then run a code on it.