\

Engineering of the fastest WebAssembly interpreters

68 points - last Tuesday at 12:25 PM

Source
  • josephg

    today at 12:33 AM

    Very cool!

    How does the performance of this wasm interpreter compare to native execution? Are we getting close?

    And youโ€™re comparing against wasmtime.pulley, which is their optimising interpreter. How does it stack up against wasmtimeโ€™s cranelift compiler?

      • achierius

        today at 1:49 AM

        No, they're not getting close. Top performing Wasm runtimes (like those in V8 and JSC) are generally between 10% (for pure math workloads) and 2x (conservatively, for ef allocation heavy ones) the speed of equivalent native implementations. But that's including the JIT compilation tiers; the performance of interpreters alone lags by an order of magnitude.

          • paulddraper

            today at 2:11 AM

            Between 10% and 100% ? Am I understanding that right?

              • achierius

                today at 4:49 AM

                I put that poorly: read as 110% and 200%

    • last Tuesday at 1:36 PM