wasmi
wai
wasmi | wai | |
---|---|---|
3 | 2 | |
1,336 | 76 | |
1.8% | - | |
9.3 | 1.6 | |
3 days ago | 9 months ago | |
Rust | Rust | |
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:
wai
-
Take More Screenshots
It is a lot, but not quite 1000, yet. From https://webassembly.github.io/spec/core/appendix/index-instr... I see 436 instructions including SIMD which is over half the population. If I filtered it correctly, it looks like there are about 203 instructions in Wasm without SIMD. Many of those are not necessary for most programs.
There at least three small Wasm interpreters in Rust
4kloc https://github.com/yblein/rust-wasm
3kloc https://github.com/k-nasa/wai
500loc https://github.com/rustwasm/wasm-bindgen/tree/HEAD/crates/wa...
This list has 169 Wasm instructions https://github.com/rolfrm/wasm-lisp/blob/master/instruction....
Wirth's RISC is neat, I'd love to re-do it in RISC-V (only 47 instructions in the base ISA). UM, Chifir and UXN look like Art (not pejorative), I'll definitely read the Chifir paper. They would be great systems to run on top of Wasm.
https://git.sr.ht/~bctnry/chifir
One might be able squeeze a Chifir VM into an ESP-32 (with external PSRAM).
- Creating a simple WebAssembly interpreter
What are some alternatives?
TablaM - The practical relational programing language for data-oriented applications
wasm-micro-runtime - WebAssembly Micro Runtime (WAMR)
wasm-on-mcu - Experiment to run a WASM interpreter on a Cortex-M4 target
Seed - A Rust framework for creating web apps
wain - WebAssembly implementation from scratch in Safe Rust with zero dependencies
tropy - Research photo management
duckscript - Simple, extendable and embeddable scripting language.
vim-mundo - :christmas_tree: Vim undo tree visualizer
extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
flexible-vectors - Vector operations for WebAssembly
RustPython - A Python Interpreter written in Rust