For those workloads which are too heavy to compile into WebAssembly, it would be more appropriate to build them into native host functions. To satisfy the portability of WebAssembly runtime, WasmEdge introduced the plug-in mechanism to make the host functions loadable and portable.
The plug-in mechanism for WasmEdge is an easy way to extend the host modules from loadable shared libraries. With the plug-ins, users can load and instantiate the host functions from the shared libraries released by WasmEdge official or even by other developers.
Official Released Plug-ins
The following lists are the WasmEdge official released plug-ins. Users can install them easily by the installer.
|Plug-in||Description||Platform Support||Language support|
|WasmEdge-Process||Allows WebAssembly programs to execute native commands in the host operating system. It supports passing arguments, environment variables, ||Rust|
|WASI-Crypto||APIs that a runtime can expose to WebAssembly modules in order to perform cryptographic operations and key management.||Rust|
|WasmEdge-Image||A native library to manipulate images for AI inference tasks.||Rust (0.3.0)|
|WasmEdge-Tensorflow||A native library for inferring TensorFlow models.||Rust (0.3.0)|
|WasmEdge-TensorflowLite||A native library for inferring TensorFlow-Lite models.||Rust|
|WasmEdge-OpenCV||Very popular utility functions to process images and videos for AI input/output.||Unreleased||Rust|
|WasmEdge-eBPF||A native library for inferring eBPF applications||Rust|
|WasmEdge-rusttls||A native library for inferring Rust and TLS Library||Rust|
Old WasmEdge Extensions
Besides the plug-ins, WasmEdge provides the extensions before the
0.13.0 versions. Noticed that the extensions are replaced by the corresponding plug-ins after the
The latest version supporting the extensions is
0.12.1. This chapter will be deprecated when the
0.12.x versions are no longer supported by the WasmEdge installer.
|Extension||Description||Platform Support||Language support|
|Image processing||A native library to manipulate images for AI inference tasks. Migrated into the plug-in after WasmEdge ||Rust (0.2.2)|
|TensorFlow and Tensorflow-Lite||A native library to inferring TensorFlow and TensorFlow-Lite models. Migrated into the plug-in after WasmEdge ||Rust (0.2.2)|