Wasmi v0.32: WebAssembly interpreter is now faster than

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. wasmi

    WebAssembly (Wasm) interpreter.

    This looks to have come out of a blockchain company: https://github.com/wasmi-labs/wasmi/blob/master/NEWS.md#anno...

    I think smart contract execution is a good application of WebAssembly. It seems promising!

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. toywasm

    A WebAssembly interpreter written in C

    Thank you, that's a good summary of the article!

    Even faster startup times can be achieved by so-called in-place interpreters that do not even translate the Wasm binary at all and instead directly execute it without adjustments. Obviously this is slower at execution compared to re-writing interpreters.

    Examples for Wasm in-place interpreters are toywasm (https://github.com/yamt/toywasm) or WAMR's classic interpreter.

  4. wasmi-benchmarks

    I am aware of Wizard and I think it is a pretty interesting Wasm runtime. It would be really cool if it was part of Wasmi's benchmark testsuite (https://github.com/wasmi-labs/wasmi-benchmarks). Contributions to add more Wasm runtimes and more test cases are very welcome.

    The non-WASI test cases are only for testing translation performance, thus their imports are not necessary to be satisfied. This would have been the case if the benchmarks tested instantiation performance instead. Usually instantiation is pretty fast though for most Wasm runtimes compared to translation time.

  5. wish-you-were-fast

    FWIW there are a bunch of benchmarks we've put up here:

    https://github.com/composablesys/wish-you-were-fast/tree/mas...

    They run on nearly all engines.

  6. Silverfir

    A WebAssembly runtime for embedded systems

    There is also this (https://github.com/mbbill/Silverfir) and Wizard ().

    I wrote a paper about Wizard's in-place interpreter and benchmarked lots of runtimes in (https://dl.acm.org/doi/abs/10.1145/3563311).

    As there seem to be even more runtimes popping up (great job with wasmi, btw), it seems like a fun, maybe even full-time, job to keep up with them all.

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Creating a simple WebAssembly interpreter

    1 project | /r/rust | 26 Jun 2021
  • Build your own WebAssembly Compiler

    3 projects | news.ycombinator.com | 3 Dec 2023
  • A WASI VM?

    4 projects | /r/rust | 19 Jun 2023
  • Wasix, the Superset of WASI Supporting Threads, Processes and Sockets

    6 projects | news.ycombinator.com | 30 May 2023
  • Announcing Scale: A WebAssembly runtime for running Go functions in any other language

    5 projects | /r/golang | 14 Mar 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?