|
@v8js | |||||
|
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. v8.dev/blog/emscripte…
|
||||||
|
||||||
|
George Salib®
@G4S90
|
22. stu |
|
|
||
|
Michaela Merz
@mischmerz
|
21. stu |
|
But why can't I compile regular #javascript to #wasm?
|
||
|
|
||
|
Dimitrii Nemkov
@xeqlol
|
22. stu |
|
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.
|
||
|
|
||