I'm not sure I got your comment right, but as far as I know, you could execute WASM through JavaScript pretty much since WebAssembly got released.
Also, TypeScript compiles to JavaScript, which is the only way you can run TypeScript in the browser or with NodeJS.
In the example I gave, we compile AssemblyScript to WebAssembly and TypeScript to JavaScript, which essentially lets us run the WASM in JS.
JS gets compiled to a WebAssembly-like bytecode which then gets interpreted. What WebAssembly gives us is the opportunity to skip this first compilation step, hence the better performance.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm not sure I got your comment right, but as far as I know, you could execute WASM through JavaScript pretty much since WebAssembly got released.
Also, TypeScript compiles to JavaScript, which is the only way you can run TypeScript in the browser or with NodeJS.
In the example I gave, we compile AssemblyScript to WebAssembly and TypeScript to JavaScript, which essentially lets us run the WASM in JS.
I didn't realize Javascript compiled to native code.
JS gets compiled to a WebAssembly-like bytecode which then gets interpreted. What WebAssembly gives us is the opportunity to skip this first compilation step, hence the better performance.