Skip to content
/ wari Public

Experimental WebAssembly Runtime for RISC processors.

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE_APACHE_2_0.txt
BSL-1.0
LICENSE_BOOST_1_0.txt
MIT
LICENSE_MIT.txt
Notifications You must be signed in to change notification settings

ardaku/wari

Wari

Experimental WebAssembly Runtime for RISC processors.

Initially, wari will only target RISC-V. In the future, other processors may be targeted.

Runtime Stages

  1. Load module with parity_wasm::elements::Module::from_bytes()
  2. Get individual module sections
  3. Pass each section into a converter to RISC instructions
  4. Optimize instructions based on known patterns that can be simplified

Steps 1 & 2 can happen at the same time (loading function) as well as 3 & 4 (with a peekable iterator).

Testing With QEMU

TODO

About

Experimental WebAssembly Runtime for RISC processors.

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE_APACHE_2_0.txt
BSL-1.0
LICENSE_BOOST_1_0.txt
MIT
LICENSE_MIT.txt

Stars

Watchers

Forks

Packages

No packages published

Languages