Crates.io | wasmer-runtime-core |
lib.rs | wasmer-runtime-core |
version | 0.18.0 |
source | src |
created_at | 2019-01-24 00:43:12.639517 |
updated_at | 2020-09-01 22:34:48.23149 |
description | Wasmer runtime core library |
homepage | |
repository | https://github.com/wasmerio/wasmer |
max_upload_size | |
id | 110321 |
size | 103,099 |
wasmer-runtime-core
[DEPRECATED] Thanks to users feedback, collected experience and various use cases, Wasmer has decided to entirely improve its API to offer the best user experience and the best features to as many users as possible.
The new version of Wasmer (1.0.0-alpha.1
) includes many improvements
in terms of performance or the memory consumption, in addition to a ton
of new features and much better flexibility!
You can check revamped new API in the wasmer
crate.
In order to help our existing users to enjoy the performance boost and
memory improvements without updating their program that much, we have
created a new version of the wasmer-runtime-core
crate, which is now
an adaptation of the new API but with the old API syntax, as much as
possible. Indeed, it was not always possible to provide the exact same
API, but changes are subtle.
We have carefully documented most of the differences in the
runtime-core/CHANGES.md
document.
It is important to understand the public of this port. We do not
recommend to advanced users of Wasmer to use this port. Advanced API,
like ModuleInfo
or the vm
module (incl. vm::Ctx
) have not been
fully ported because it was very internals to Wasmer. For advanced
users, we highly recommend to migrate to the new version of Wasmer,
which is awesome by the way (completely neutral opinion). The public
for this port is beginners or regular users that do not necesarily
have time to update their code immediately but that want to enjoy a
performance boost and memory improvements.
The wasmer-runtime-core
was the entry point to the Wasmer Runtime,
by providing common types to compile and to instantiate a WebAssembly
module.
Most Wasmer users should prefer the API which is re-exported by the
wasmer-runtime
library by default. This crate provides additional
APIs which may be useful to users that wish to customize the Wasmer
runtime.