top | item 32107788

(no title)

yatac42 | 3 years ago

I wouldn't say the source language is not meaningful. If you wrote an ahead-of-time JavaScript-to-WebAssembly compiler and benchmarked the WASM generated by that, it would probably be a lot slower than the WASM generated by the Rust compiler, no?

discuss

order

throwaway894345|3 years ago

Has anyone compiled v8 to WASM so we can finally run JS in the browser? ;)

hunterb123|3 years ago

v8 is a JIT engine, WASM would not support it.

JavaScriptCore has been compiled to WASM though:

https://mbbill.github.io/JSC.js/

People usually ask why, the answer is usually for fun or for sandboxed plugins.

mrtesthah|3 years ago

please don’t give them more ideas