mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 08:10:49 +00:00
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
|
# wasmer - WebAssembly runtime
|
||
|
|
||
|
[](https://travis-ci.org/rust-lang-nursery/error-chain)
|
||
|
[](https://crates.io/crates/error-chain)
|
||
|
[](https://github.com/wapmio/wasmer)
|
||
|
|
||
|
`wasmer` is a Standalone JIT-style runtime for WebAsssembly code.
|
||
|
|
||
|
The [Cranelift](https://github.com/CraneStation/cranelift) compiler is used to compile WebAssembly to native machine code. Once compiled, there are no complex interactions between the application and the runtime (unlike jit compilers, like v8) to reduce surface area for vulnerabilities.
|
||
|
|
||
|
[Documentation (crates.io)](https://docs.rs/wasmer).
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
It can load both the standard binary format (`.wasm`), and the text format
|
||
|
defined by the WebAssembly reference interpreter (`.wat`).
|
||
|
|
||
|
## Building & Running
|
||
|
|
||
|
To build this project you will need Rust and Cargo.
|
||
|
|
||
|
```sh
|
||
|
# checkout code and associated submodules
|
||
|
git clone https://github.com/wapmio/wasmer.git
|
||
|
cd wasmer
|
||
|
|
||
|
# install tools
|
||
|
# make sure that `python` is accessible.
|
||
|
cargo install
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT/Apache-2.0
|