orlov-vo / wasmtime

Standalone JIT-style runtime for WebAsssembly, using Cranelift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Travis Status Appveyor Status Gitter chat Minimum rustc 1.32

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.

About

Standalone JIT-style runtime for WebAsssembly, using Cranelift

License:Apache License 2.0


Languages

Language:Rust 69.7%Language:C 21.1%Language:C++ 4.5%Language:JavaScript 2.1%Language:WebAssembly 1.1%Language:Shell 0.8%Language:HTML 0.5%Language:CMake 0.1%