3 ms·
Doesn’t it depend on the source language? If you compile JS to WASM, you’d have the same problem. I imagine Python performance isn’t too great either. Whereas
by thrashh 4y ago
Doesn’t it depend on the source language? If you compile JS to WASM, you’d have the same problem.
I imagine Python performance isn’t too great either.
Whereas if you compiled (or translated — not sure how comparable the WASM instruction set is) x86 bytecode to WASM, it’d be a walk in the park.
- duped 4y agoSure, but that's the problem of the hosted language's compiler and not the JIT. Then the optimization pass turns into compiling the redefined method to WASM which can then be JIT compiled and inlined, so deoptomization isn't as bad (at least only the compilation unit has to be ditched)