wasmi | raw-wasm | |
---|---|---|
3 | 3 | |
1,348 | 419 | |
2.7% | - | |
9.3 | 5.6 | |
4 days ago | 6 months ago | |
Rust | WebAssembly | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wasmi
- Web assembly book?
-
How feasible is to create a WASM plugin system in Rust?
There are lots of solutions to this, I was randomly looking into this yesterday purely out of curiosity and it looks to me like wasmi is the current go-to option.
-
Help with wasmi
Hello guys, i was looking for a no std wasm interpreter and i found out about wasmi: https://github.com/paritytech/wasmi/, but when i tried it i get an error module env not found. I suspect that in my program i call an extern function putchar() to be able to print and wasmi doesnt support that, but other interpreters i tried support it, for example wain. Are there any alrernatives, or am i doing sth wrong here. I dont have a deep wasm knowledge, i was just wanted to experiment with wasm in a no std enviroment. Heres my code:
raw-wasm
- Web assembly book?
-
Smolnes: A NES Emulator In
Big fan of this author's work.
They have a Gameboy emulator written in C, which can be compiled to WASM and run in the browser.
https://github.com/binji/binjgb
I learned a lot from the code.
Also I love this project with a bunch of demos in hand-written WebAssembly Text (WAT) format, which is like low-level Lisp that works only with raw memory, numbers, and minimal syntax.
https://github.com/binji/raw-wasm
Then I discovered the same author is quite active in the WebAssembly ecosystem, including specs and tooling. Fascinating stuff!
https://github.com/WebAssembly/spec
https://github.com/WebAssembly/wabt
- Raw WebAssembly Demos
What are some alternatives?
TablaM - The practical relational programing language for data-oriented applications
binaryen - Optimizer and compiler/toolchain library for WebAssembly
wasm-on-mcu - Experiment to run a WASM interpreter on a Cortex-M4 target
xxhash-wasm - A WebAssembly implementation of xxHash
wain - WebAssembly implementation from scratch in Safe Rust with zero dependencies
wasm2lua - wasm2lua: converting WASM into Lua
duckscript - Simple, extendable and embeddable scripting language.
cpl-webassembly - Small WebAssembly exercise session for the KU Leuven course Comparative Progamming Languages
extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
w2c2 - Translates WebAssembly modules to portable C
RustPython - A Python Interpreter written in Rust
smolnes - NES emulator in <5000 bytes of C