temp

WebAssembly: The Definitive Guide

What is WebAssembly?

https://learning.oreilly.com/library/view/webassembly-the-definitive/9781492089834/

  • Secure
  • Fast
  • Poratble

Design

  • Memory is fully sandboxed by default.
  • It uses a capability-based security model; programs has no capabilities by default.

Platform

Wasm run in web browsers, Kubernetes, edge cdns, FaaS, IoT. (e.g. Cloudflare workers, Fastly Compute@Edge) I expext the current container era to move toword a WebAssembly era, because wasm is:

  • more light-weight
  • faster than container
  • more strictlly sandboxed, and therefore more secure.

Today, "zero trust" is a best practice for AuthN/AuthZ. WebAssembly can also provide "zero trust" properties to application.

This book argues that evolution of our industry. The evolustion is described as a shiftexecution environments: PC -> Cloud -> Containers -> WebAssembly -> WASM Cloud.

WASI: WebAssembly System(Standard) Interface

WASI is an interface provides capabilities(host function - I/O, Clocks, Random, Filesytem, CLI, HTTO,...) to WebAssembly runtimes.

Projects

Runtime

WASI

Frameworks

WebAssembly on Kubbernetes