wasmi
binaryen
wasmi | binaryen | |
---|---|---|
3 | 14 | |
1,336 | 7,128 | |
1.8% | 1.1% | |
9.3 | 9.8 | |
3 days ago | 4 days ago | |
Rust | WebAssembly | |
Apache License 2.0 | Apache License 2.0 |
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:
binaryen
-
Bring garbage collected programming languages efficiently to WebAssembly
The Binaryen wasm optimizer (mentioned in the article) is always open for contributions,
https://github.com/WebAssembly/binaryen
-
Random Testing of WebAssembly Implementations Using Semantically Valid Programs
The end of the related work section cites both wasm-smith and the Binaryen fuzzer (https://github.com/WebAssembly/binaryen/wiki/Fuzzing) and says, "They both provide a fuzzer that turns a stream of bytes into a WebAssembly module in order to test implementations. Their fuzzers always generate semantically valid test cases, but lack the targeting and tuning that Xsmith provides."
I look forward to reading more about how they do the targeting and tuning.
-
Web assembly book?
Binaryen or the LLVM of wasm: https://github.com/WebAssembly/binaryen
-
You can reduce web build file size by 4mb by using Binaryen
Download Binaryen
-
What's the best way to generate WASM programmatically?
Probably https://github.com/WebAssembly/binaryen/, there were various rust bindings to it.
-
Build a WebAssembly Language for Fun and Profit: Code Generation
The final phase of our compiler is code generation. This phase takes the AST and converts it to a set of executable instructions. In our case, WebAssembly. To accomplish this, we are going to use a popular WebAssembly compiler toolchain called binaryen.
-
Build a WebAssembly Language for Fun and Profit: Lexing
In this guide, we will be using TypeScript and NodeJS. The concepts are highly portable, so feel free to use the environment you're most comfortable with. Our only major dependency, binaryen, has a simple C API. You are welcome to skip ahead to the next section if you're using a different language.
-
Rust and WebAssembly without a Bundler
What are the size and performance benefits of processing the Wasm payload with wasm-opt?
-
Is WebAssembly Text (WAT) Just Another IR?
I would recommend looking into binaryen as it has it's own IR and can perform optimizations over it. It's also simpler than LLVM and has the option to produce binaries with debug names.
-
What are the advantages or disadvantages of compiling to VM Bytecode vs native machine code?
You can also use binaryen to optimize your wasm output
What are some alternatives?
TablaM - The practical relational programing language for data-oriented applications
wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript
wasm-on-mcu - Experiment to run a WASM interpreter on a Cortex-M4 target
wasi-sdk - WASI-enabled WebAssembly C/C++ toolchain
wain - WebAssembly implementation from scratch in Safe Rust with zero dependencies
wasi-libc - WASI libc implementation for WebAssembly
duckscript - Simple, extendable and embeddable scripting language.
EasyOCR - Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.
workers-wasi
RustPython - A Python Interpreter written in Rust
asyncify - Standalone Asyncify helper for Binaryen