Emscripten now supports a standalone mode, to better serve the various ways WebAssembly is being used outside of the Web. It enables building and using Wasm modules even in runtimes without JavaScript support. https://v8.dev/blog/emscripten-standalone-wasm …
Because js is way too dynamic language, simultaneously wasm is not. So you need to bring runtime (that's a lot of code, even in quickjs) that makes js dynamic to wasm bundle to make it work properly.
-
-
I was under the impression that modern browsers already compile at least parts of the script?
-
They do. Browsers compile js just-in-time to platform-specific code and then execute it. But there's no obvious reasons to compile js to wasm and then compile it to platform-specific code to execute on particular machine
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.