System Overview

Tairitsu is a full-stack framework powered by the WASM Component Model. A single WASM component can run on the server (via the Container runtime), in the browser (via the VDOM runtime), or at the edge — all through the same WIT interface definitions.

The Four Layers

mermaid

How a Request Flows

Browser (Client Path)

mermaid

Server (SSR Path)

mermaid

Core Design Decisions

Why Component Model instead of wasm-bindgen?

wasm-bindgen pathWIT path (Tairitsu)
Rust → wasm-bindgen → JS shim → browserRust → WIT → canonical ABI → browser (eventually native)
Tight coupling to JS runtimeLanguage-agnostic WIT interface
No server-side reuseSame component works in any wasmtime host
Mature, stable ecosystem (Leptos, Dioxus, Yew)Emerging, future-facing

Tairitsu bets on the Component Model becoming the standard for browser-wasm interop, eliminating the need for wasm-bindgen's JS glue layer.

Why Docker-like Image/Container/Registry?

WASM components need lifecycle management just like containers:

This model enables:

Next Steps