#instance #table #run-time #memory #wasmer #trap

unc-vm-vm

Runtime library support for Wasmer

11 releases (4 breaking)

new 0.7.3 Apr 12, 2024
0.7.2 Apr 9, 2024
0.7.0 Mar 29, 2024
0.6.2 Mar 22, 2024
0.1.0 Mar 5, 2024

#1146 in WebAssembly

Download history 213/week @ 2024-02-29 328/week @ 2024-03-07 81/week @ 2024-03-14 484/week @ 2024-03-21 188/week @ 2024-03-28 426/week @ 2024-04-04

1,223 downloads per month
Used in 4 crates

GPL-2.0-or-later

415KB
8K SLoC

unc-vm-vm

This crate is a fork of wasmer-vm. A significant number of things changed, but the documentation is not up-to-date yet.

This crate contains the Wasmer VM runtime library, supporting the Wasm ABI used by any wasmer-engine implementation.

The Wasmer runtime is modular by design, and provides several libraries where each of them provides a specific set of features. This wasmer-vm library contains the low-level foundation for the runtime itself.

It provides all the APIs the wasmer-engine needs to operate, from the instance, to memory, probestack, signature registry, trap, table, VMContext, libcalls etc.

It is very unlikely that a user will need to deal with wasmer-vm directly. The wasmer crate provides types that embed types from wasmer-vm with a higher-level API.

Acknowledgments

This project borrowed some of the code for the VM structure and trapping from the wasmtime-runtime.

Please check Wasmer ATTRIBUTIONS to further see licenses and other attributions of the project.

Dependencies

~10–21MB
~323K SLoC