All Projects → paritytech → Wasmi

paritytech / Wasmi

Licence: other
Wasm interpreter in Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Wasmi

Winter
Haskell port of the WebAssembly OCaml reference interpreter
Stars: ✭ 42 (-93.73%)
Mutual labels:  wasm, interpreter
Wasm Micro Runtime
WebAssembly Micro Runtime (WAMR)
Stars: ✭ 2,440 (+264.18%)
Mutual labels:  wasm, interpreter
Wasmjit
Small Embeddable WebAssembly Runtime
Stars: ✭ 1,063 (+58.66%)
Mutual labels:  wasm, interpreter
Wasm Forth
A Forth implementation compiling to WebAssembly.
Stars: ✭ 92 (-86.27%)
Mutual labels:  wasm, interpreter
Webassemblyjs
Toolchain for WebAssembly
Stars: ✭ 566 (-15.52%)
Mutual labels:  wasm, interpreter
Esta
Interpreted language and bytecode VM of my own design written in Rust [Unmaintained]
Stars: ✭ 28 (-95.82%)
Mutual labels:  wasm, interpreter
Wain
WebAssembly implementation from scratch in Safe Rust with zero dependencies
Stars: ✭ 160 (-76.12%)
Mutual labels:  wasm, interpreter
Rustpython
A Python Interpreter written in Rust
Stars: ✭ 10,261 (+1431.49%)
Mutual labels:  interpreter, wasm
warpy
WebAssembly interpreter in RPython
Stars: ✭ 54 (-91.94%)
Mutual labels:  interpreter, wasm
wazm
Web Assembly Zig Machine
Stars: ✭ 54 (-91.94%)
Mutual labels:  interpreter, wasm
Alchemyvm
WebAssembly Virtual Machine Built In Elixir
Stars: ✭ 176 (-73.73%)
Mutual labels:  wasm, interpreter
ocaml-offchain
Fork of WebAssembly reference interpreter with support for generating proofs needed for blockchain verification
Stars: ✭ 42 (-93.73%)
Mutual labels:  interpreter, wasm
interp
Interpreter experiment. Testing dispatch methods: Switching, Direct/Indirect Threaded Code, Tail-Calls and Inlining
Stars: ✭ 32 (-95.22%)
Mutual labels:  interpreter, wasm
Wasm3
🚀 The fastest WebAssembly interpreter, and the most universal runtime
Stars: ✭ 4,375 (+552.99%)
Mutual labels:  wasm, interpreter
Hython
Haskell-powered Python 3 interpreter
Stars: ✭ 550 (-17.91%)
Mutual labels:  interpreter
Astro
A fun safe language for rapid prototyping and high performance applications
Stars: ✭ 588 (-12.24%)
Mutual labels:  wasm
Dotnet Webassembly
Create, read, modify, write and execute WebAssembly (WASM) files from .NET-based applications.
Stars: ✭ 535 (-20.15%)
Mutual labels:  wasm
Wasmtime
Standalone JIT-style runtime for WebAssembly, using Cranelift
Stars: ✭ 6,413 (+857.16%)
Mutual labels:  wasm
Sixtyfps
SixtyFPS is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript.
Stars: ✭ 605 (-9.7%)
Mutual labels:  wasm
Q3vm
Q3VM - Single file (vm.c) bytecode virtual machine/interpreter for C-language input
Stars: ✭ 585 (-12.69%)
Mutual labels:  interpreter

crates.io link Build Status

wasmi

wasmi - a Wasm interpreter.

wasmi was conceived as a component of parity-ethereum (ethereum-like contracts in wasm) and substrate. These projects are related to blockchain and require a high degree of correctness, even if that might be over conservative. This specifically means that we are not trying to be involved in any implementation of any of work-in-progress Wasm proposals. We are also trying to be as close as possible to the spec, which means we are trying to avoid features that is not directly supported by the spec. This means that it is flexible on the one hand and on the other hand there shouldn't be a problem migrating to another spec compliant execution engine.

With all that said, wasmi should be a good option for initial prototyping.

Build & Test

As wasmi contains a git submodule, you need to use --recursive for cloning or to checkout the submodule explicitly, otherwise the testing would fail.

git clone https://github.com/paritytech/wasmi.git --recursive
cd wasmi
cargo build
cargo test

no_std support

This crate supports no_std environments. Enable the core feature and disable default features:

[dependencies]
wasmi = {
	version = "*",
	default-features = false,
	features = "core"
}

When the core feature is enabled, code related to std::error is disabled.

License

wasmi is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), at your choice.

See LICENSE-APACHE, and LICENSE-MIT for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in wasmi by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].