Show HN: TinyWasm – A tiny WebAssembly Runtime written in Rust

https://github.com/explodingcamera/tinywasm
by explodingcamera • 2 years ago
172 12 2 years ago

Show HN: TinyWasm - A tiny WebAssembly Runtime written in Rust

Hi HN! I'm excited to share TinyWasm (https://github.com/explodingcamera/tinywasm), a WebAssembly Interpreter I developed for my final university project.

The main goal of this project was to deepen my understanding of WebAssembly and interpreter design. TinyWasm successfully passes all the official WebAssembly 1.0 tests and also includes features from future proposals such as like bulk memory operations.

Initially more of a research project, TinyWasm focuses on simplicity and portability. It has minimal third-party dependencies, a small codebase, and is compatible with no_std environments. It's now available as a standalone library (https://crates.io/crates/tinywasm), and I hope it can be useful for embedding into other projects and hacking on, especially because it's designed to be easy to understand and modify, while still being decently performant.

I'm looking forward to feedback, hope you find it useful!

Related Stories

Loading related stories...

Source preview

github.com