3 ms·
I wonder what the performance penalty is compared to running directly on native machine code.
by infogulch 4y ago
I wonder what the performance penalty is compared to running directly on native machine code.
- manchmalscott 4y agoI think the wasm runtime they used compiled it to native on program boot, so I’d guess the penalty is really only on startup time?
- iudqnolq 4y agoI have no experise, but my gut feeling is that the sandboxing should still add some cost?
- nicoburns 4y agoI believe wasm is usually within 2x of native machine code, with the caveat that it can’t do simd or multi threading.
- pjmlp 4y agoIt can in latest versions of the standard, but it is still far from what JVM and CLR bytecodes offer in the box.