Update ARCHITECTURE.md

This commit is contained in:
Syrus Akbary 2019-05-29 15:12:45 -07:00 committed by GitHub
parent f0544e9e7a
commit 5d63c96d96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
Wasmer uses the following components:
- [Cranelift](https://github.com/cranestation/cranelift): for compiling Wasm binaries to machine code
- Compiler backends: for compiling Wasm binaries to machine code ([more info here](https://github.com/wasmerio/wasmer/tree/master/lib#backends))
- [wabt](https://github.com/pepyakin/wabt-rs): for transforming `.wast` files to `.wasm` and running WebAssembly spec tests
- [wasmparser](https://github.com/yurydelendik/wasmparser.rs): for parsing the `.wasm` files and translating them into WebAssembly modules
@ -67,3 +67,8 @@ Once that's finished, we will have a `Instance` function that will be ready to e
Wasmer's Emscripten integration tries to wrap (and emulate) all the different syscalls that Emscripten needs.
We provide this integration by filling the `import_object` with the Emscripten functions, while instantiating the WebAssembly Instance.
## WASI
Wasmer's WASI integration implements all the different syscalls that WASI needs.
We provide this integration by filling the `import_object` with the WASI functions, while instantiating the WebAssembly Instance.