#webassembly #wasm

wasmtime-jit

JIT-style execution for WebAsssembly code in Cranelift

22 breaking releases

new 0.28.0 Jun 9, 2021
0.26.1 May 21, 2021
0.25.0 Mar 16, 2021
0.21.0 Nov 5, 2020
0.8.0 Nov 20, 2019

#96 in #webassembly

Download history 10912/week @ 2021-02-20 12131/week @ 2021-02-27 11512/week @ 2021-03-06 12288/week @ 2021-03-13 12359/week @ 2021-03-20 10798/week @ 2021-03-27 11625/week @ 2021-04-03 10489/week @ 2021-04-10 9716/week @ 2021-04-17 9727/week @ 2021-04-24 10236/week @ 2021-05-01 10590/week @ 2021-05-08 10505/week @ 2021-05-15 11904/week @ 2021-05-22 11567/week @ 2021-05-29 13065/week @ 2021-06-05

47,599 downloads per month
Used in 52 crates (5 directly)

Apache-2.0 WITH LLVM-exception

7.5MB
191K SLoC

Rust 123K SLoC // 0.1% comments WebAssembly 68K SLoC // 0.0% comments C 26 SLoC // 0.1% comments

This is the wasmtime-jit crate, which contains JIT-based execution for wasm, using the wasm ABI defined by wasmtime-environ and the runtime support provided by wasmtime-runtime.

Most users will want to use the main wasmtime crate instead of using this crate directly.


lib.rs:

JIT-style runtime for WebAssembly using Cranelift.

Dependencies

~6.5–9MB
~193K SLoC