Skip to content

A tiny Web Assembly interpreter written in Zig. The interpreter supports Web Assembly Core Specification 2.0 draft including SIMD operations.

License

Notifications You must be signed in to change notification settings

safx/zig-tiny-wasm-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Web Assembly interpreter

A tiny Web Assembly interpreter written in Zig. The interpreter supports Web Assembly Core Specification 2.0 draft including SIMD operations. This project is intended for personal understanding of the Wasm spec. Do not use in production environment.

Requrements

  • Zig 0.12
  • wabt (to run Wasm TestSuite)

Compile and Run

zig build -Doptimize=ReleaseSafe
./zig-out/bin/zig-wasm-interp somefile.wasm -r foo_func -a 32

Execute Wasm TestSuite

cd spec_test
make setup
make

About

A tiny Web Assembly interpreter written in Zig. The interpreter supports Web Assembly Core Specification 2.0 draft including SIMD operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages