#wasm-module #run-time #loader #microcontrollers #running #esp32 #suitable

app uwasm

Runtime for WebAssembly modules, suitable for use as a loader for user apps in firmwares running on microcontrollers like ESP32

2 releases

0.1.1 Mar 2, 2024
0.1.0 Mar 2, 2024

#121 in WebAssembly

Download history 124/week @ 2024-02-25 121/week @ 2024-03-03 24/week @ 2024-03-10 1/week @ 2024-03-17 34/week @ 2024-03-31 2/week @ 2024-04-07 35/week @ 2024-04-14

71 downloads per month

MIT license

9KB
165 lines

uWasm

This project is a runtime for WebAssembly modules, suitable for use as a loader for user apps in firmwares running on microcontrollers like ESP32.

Motivation

It is being developed within this daily coding challenge. For me, this project serves as an opportunity to learn more about WebAssembly, delve deeper into low level programming, and... use more Rust :)

Hopefully, something useful will come out of this project.

Project scope

  • parser of WebAssembly binary representation;
    • basic subset of Wasm (support for SIMD, threads and other more advanced features is not planned)
  • bytecode interpreter;
  • native API to call from inside the virtual machine;
  • optional: JIT/AOT compilation using copy-and-patch method^1.

Project goals

  • low memory footprint;
  • reasonable performance.

Additional ideas

  • introduce continuous integration (via Github Actions) on real hardware to ensure proper performance on target platforms;
  • experiment with process scheduling.

Contributing

When writing commit messages please follow semantic commit messages guidelines.

Useful tools and resources

No runtime deps