Skip to content

Standalone JIT-style runtime for WebAsssembly, using Cranelift

License

Notifications You must be signed in to change notification settings

jlb6740/wasmtime

This branch is 107 commits ahead of, 4780 commits behind bytecodealliance/wasmtime:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

91c6c3b ยท Jan 30, 2022
Jan 30, 2022
Oct 26, 2021
Nov 17, 2021
Jan 25, 2022
Jan 26, 2022
Jan 24, 2022
Jan 20, 2022
Jan 7, 2022
Jan 24, 2022
Dec 7, 2021
Jan 20, 2022
Jan 20, 2022
Nov 18, 2021
Jul 17, 2020
Aug 10, 2021
Jun 25, 2020
Feb 28, 2020
Jan 24, 2022
Jan 19, 2022
Oct 30, 2018
Nov 12, 2019
Sep 27, 2021
Jan 5, 2022
May 19, 2021
Oct 13, 2021
Feb 28, 2020
Dec 17, 2021

Repository files navigation

wasmtime

A standalone runtime for WebAssembly

A Bytecode Alliance project

build status zulip chat supported rustc stable Documentation Status

Installation

The Wasmtime CLI can be installed on Linux and macOS with a small install script:

$ curl https://wasmtime.dev/install.sh -sSf | bash

Windows or otherwise interested users can download installers and binaries directly from the GitHub Releases page.

Example

If you've got the Rust compiler installed then you can take some Rust source code:

fn main() {
    println!("Hello, world!");
}

and compile/run it with:

$ rustup target add wasm32-wasi
$ rustc hello.rs --target wasm32-wasi
$ wasmtime hello.wasm
Hello, world!

Features

  • Lightweight. Wasmtime is a standalone runtime for WebAssembly that scales with your needs. It fits on tiny chips as well as makes use of huge servers. Wasmtime can be embedded into almost any application too.

  • Fast. Wasmtime is built on the optimizing Cranelift code generator to quickly generate high-quality machine code at runtime.

  • Configurable. Whether you need to precompile your wasm ahead of time, or interpret it at runtime, Wasmtime has you covered for all your wasm-executing needs.

  • WASI. Wasmtime supports a rich set of APIs for interacting with the host environment through the WASI standard.

  • Standards Compliant. Wasmtime passes the official WebAssembly test suite, implements the official C API of wasm, and implements future proposals to WebAssembly as well. Wasmtime developers are intimately engaged with the WebAssembly standards process all along the way too.

Language Support

You can use Wasmtime from a variety of different languages through embeddings of the implementation:

Documentation

๐Ÿ“š Read the Wasmtime guide here! ๐Ÿ“š

The wasmtime guide is the best starting point to learn about what Wasmtime can do for you or help answer your questions about Wasmtime. If you're curious in contributing to Wasmtime, it can also help you do that!


It's Wasmtime.

About

Standalone JIT-style runtime for WebAsssembly, using Cranelift

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 69.5%
  • WebAssembly 23.3%
  • Common Lisp 6.0%
  • C 0.9%
  • Shell 0.1%
  • JavaScript 0.1%
  • Other 0.1%