#webassembly #wasm

substrate-wasmtime-jit

JIT-style execution for WebAsssembly code in Cranelift

5 releases

0.16.0-threadsafe.4 May 19, 2020
0.16.0-threadsafe.3 May 16, 2020
0.16.0-threadsafe.2 May 7, 2020
0.16.0-threadsafe.1 May 4, 2020
0.13.0-threadsafe.1 Mar 12, 2020

#65 in #standalone

Download history 73/week @ 2022-05-23 71/week @ 2022-05-30 44/week @ 2022-06-06 31/week @ 2022-06-13 63/week @ 2022-06-20 41/week @ 2022-06-27 31/week @ 2022-07-04 38/week @ 2022-07-11 44/week @ 2022-07-18 30/week @ 2022-07-25 64/week @ 2022-08-01 121/week @ 2022-08-08 51/week @ 2022-08-15 62/week @ 2022-08-22 38/week @ 2022-08-29 71/week @ 2022-09-05

244 downloads per month

Apache-2.0 WITH LLVM-exception

6.5MB
175K SLoC

Rust 107K SLoC // 0.1% comments WebAssembly 68K SLoC // 0.0% comments C 28 SLoC

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

~17MB
~351K SLoC