10 releases (6 stable)
|2.3.0||Jun 6, 2022|
|2.2.1||Mar 16, 2022|
|2.2.0||Feb 28, 2022|
|2.2.0-rc1||Jan 28, 2022|
|2.0.0||Jun 16, 2021|
#1202 in WebAssembly
41,344 downloads per month
Used in 23 crates (via wasmer-asml-fork)
This allows Wasmer to achieve blazing fast native startup times.
Note: you can find a full working example using the Dylib engine here.
The Dylib Engine and Universal Engine mainly differ on how the Modules are loaded/stored. Using the same compilers, both will have the same runtime speed.
However, the Dylib Engine uses the Operating System shared library
dlopen) and as such is able to achieve a much faster
startup time when deserializing a serialized
wasmer-engine-dylib crate requires a linker available on
your system to generate the shared object file.
Note: when cross-compiling to other targets,
clangwill be the default command used for compiling.
You can install LLVM (that provides
clang) easily on your
Debian-like system via this command:
bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
Or in macOS:
brew install llvm
Or via any of the pre-built binaries that LLVM offers.