Dan Gohman
a6f31a2be3
|
6 years ago | |
---|---|---|
docs | 6 years ago | |
filetests | 6 years ago | |
fuzz | 6 years ago | |
misc_testsuite | 6 years ago | |
spec_testsuite@89cc463fa1 | 6 years ago | |
src | 6 years ago | |
tests | 6 years ago | |
wasmtime-debug | 6 years ago | |
wasmtime-environ | 6 years ago | |
wasmtime-jit | 6 years ago | |
wasmtime-obj | 6 years ago | |
wasmtime-runtime | 6 years ago | |
wasmtime-wasi | 6 years ago | |
wasmtime-wast | 6 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 6 years ago | |
.rustfmt.toml | 6 years ago | |
.travis.yml | 6 years ago | |
CODE_OF_CONDUCT.md | 6 years ago | |
CONTRIBUTING.md | 6 years ago | |
Cargo.toml | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
appveyor.yml | 6 years ago | |
build.rs | 6 years ago | |
clippy.toml | 6 years ago | |
format-all.sh | 6 years ago | |
publish-all.sh | 6 years ago | |
test-all.sh | 6 years ago |
README.md
Wasmtime: a WebAssembly Runtime.
Wasmtime is a standalone wasm-only runtime for WebAssembly, using the Cranelift JIT.
It runs WebAssembly code outside of the Web, and can be used both as a command-line utility or as a library embedded in a larger application.
Wasmtime passes the WebAssembly spec testsuite, and supports a new system API proposal called WebAssembly System Interface, or WASI.
There are Rust, C, and C++ toolchains that can compile programs with WASI. See here for more information, and here for a tutorial on compiling and running programs using WASI and wasmtime, as well as an overview of the filesystem sandboxing system.
Wasmtime does not yet implement Spectre mitigations, such as those being pioneered by wasmjit, however this is a subject of ongoing research.
Additional goals for Wasmtime include:
- Support a variety of host APIs (not just WASI Core), with fast calling sequences, and develop proposals for additional API modules to be part of WASI. Reference Sysroot.
- Implement the proposed WebAssembly C API.
- Facilitate testing, experimentation, and development around the Cranelift and Lightbeam JITs.
- Develop a native ABI used for compiling WebAssembly suitable for use in both JIT and AOT to native object files.
It's Wasmtime.