feat: update wit-bindgen-sample
This commit is contained in:
@@ -9,4 +9,31 @@ git clone https://github.com/bytecodealliance/wit-bindgen.git
|
||||
```
|
||||
|
||||
|
||||
How works:
|
||||
|
||||
```text
|
||||
+---------------------------------------------------------------------+
|
||||
| |
|
||||
| +---------------------------+ +---------------------------+ |
|
||||
| | +-----------------------+ | | +-----------------------+ | |
|
||||
| | | +-----------------+ | | | | +-----------------+ | | |
|
||||
| | | | User JavaScript | | | | | | User JavaScript | | | |
|
||||
| | | +-----------------+ | | | | +-----------------+ | | ...... |
|
||||
| | | | | | | | | |
|
||||
| | | BOA JavaScript Engine | | | | BOA JavaScript Engine | | |
|
||||
| | | | | | | | | |
|
||||
| | +-----------------------+ | | +-----------------------+ | |
|
||||
| | | | | |
|
||||
| | WebAssembly (WASM) Engine | | WebAssembly (WASM) Engine | |
|
||||
| | | | | |
|
||||
| +---------------------------+ +--+------------------------+ |
|
||||
| | |
|
||||
| WASM Container v |
|
||||
| fetch(url, [options]) |
|
||||
| console.log(message) |
|
||||
| |
|
||||
| |
|
||||
+---------------------------------------------------------------------+
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user