News for hackers. Stuff that matters.
Re:Why am I excited about WebAssembly? by thrashh on Sunday July 17, 2022 @02:06PM (#32129354)
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.

Re:Why am I excited about WebAssembly? by duped on Sunday July 17, 2022 @09:40PM (#32133557)
Sure, 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)