Aloha.zone.io

Aloha's technical notes.

View on GitHub

WebAssembly

Learning notes and practises of WebAssembly.


Background

Solomon Hykes, the founder of Docker, has posted on Twiter:

quote docker

WASI

The WASI (WebAssembly System Interface) is a modular system interface for WebAssembly.

Runtime

To run the wasm modules out of browser, it requires a runtime to execution the .wasm or .wat as VM. The runtime typically supports both WASI APIs as well.

I suppose! wasmer doesn’t have much documentation on writing programs using the WASI API, while wasmtime has enough of a tutorial to get you started.

Debating about comparison on the runtimes

WASM-VDOM

Use wasm for comparing virtual DOM to optimize the performance:

Virtual DOM by WASM

Rust wasm

Game of life