Host Wasm runtime landscape (Q1 deep-dive)
Supplemental research for Pick Host runtime from research shortlist].
Builds on wasm-host-runtimes.md. Claims cite primary sources. Does not pick the stack.
Focus: who backs each project, license, age/community, “flight level” (engine vs framework), fit to locked personal-cloud requirements (Rust Host, Component/WIT Dataset APIs, deny-by-default capabilities, Scheduled wakes, resource kill/throttle, AGPL Host + third-party Apps).
Flight-level map
High-level product frameworks Spin · wasmCloud (wash-runtime + lattice)
↑ you inherit packaging, triggers, capability plugins
Mid-level embeddable engines Wasmtime · Wasmer · WasmEdge
↑ full control of Host APIs; you build scheduler/Shell wiring
Low-level / specialized Wasmi · WAMR · Extism · Tinywasm
↑ interpreters, IoT, or simple plugin ABI — weak WIT Host storyFor personal-cloud, the interesting band is mid-level engine (max Host control) vs high-level framework (faster triggers, more product gravity).
Comparison matrix (shortlist + missed options)
| Project | Org / backing | Since (approx) | License (core) | Flight level | Component Model / WIT | Rust embed | Fit for personal-cloud Host |
|---|---|---|---|---|---|---|---|
| Wasmtime | Bytecode Alliance (Mozilla/Fastly/Intel/Red Hat founding; broad industry) | Public ~2017–19; 1.0 Sep 2022; BA Core Project Apr 2025 | Apache-2.0 WITH LLVM-exception (repo) | Engine — CLI + Rust Engine/Store/component |
Reference implementation | First-class | Best fit for custom Dataset WIT + Host-owned caps |
| Spin | Fermyon → CNCF Sandbox (Jan 2025) (cncf.io/projects/spin) | First commit ~Nov 2021 | Apache-2.0 | Framework on Wasmtime (apps, triggers, factors) | Yes (components) | Embed/extend documented; custom triggers experimental (docs) | Good if you want Spin’s model; fights custom Shell/Dataset product shape |
| wash-runtime (wasmCloud) | CNCF Incubating (Nov 2024); Cosmonic major maintainer (CNCF blog) | Project roots ~2019–20 | Apache-2.0 | Framework/runtime — Wasmtime + host plugins | WASI P2 + components | Embeddable crate; historically publish = false on crates.io (in-tree) |
Capability-plugin inspiration; name collision with temp wasmCloud repo; lattice/NATS gravity |
| Wasmer | Wasmer Inc. (commercial) | ~2018+ | Mostly MIT; Singlepass compiler → BUSL-1.1 in Wasmer 6 (post) | Engine + WASIX POSIX layer | Partial / lagged vs Wasmtime on standards path | Strong Rust SDK | Viable alternate engine; WASIX ≠ WASI P2; weaker WIT-first story |
| WasmEdge | Second State → CNCF Sandbox (2021) | ~2019 (as SSVM) | Apache-2.0 | Engine (C++) + Rust SDK wrapping C API | In progress / incomplete vs Wasmtime (tracking) | wasmedge-sdk needs native lib |
Edge/AI niche; extra C++ dep; not WIT Host reference |
| Wasmi | wasmi-labs (Parity lineage; blockchain/embedded) | ~2018 | MIT OR Apache-2.0 | Interpreter (deterministic, fuel) | Native CM not priority (#897) | Pure Rust | Good metering/embedded; poor primary Host for Dataset WIT |
| WAMR | Bytecode Alliance | BA founding era | Apache-2.0 family | Tiny embedded C runtime | Limited vs Wasmtime | FFI from Rust | IoT footprint — not household multi-App Host |
| Extism | Dylibso | ~2022 | BSD-style (check repo) | Plugin host functions | Core Wasm, not WIT worlds | Multi-lang PDKs | Call/export plugins — too low-level for Dataset API |
Stars (order-of-magnitude, change over time): Wasmtime ~18k, WasmEdge ~10k, Wasmer large commercial mindshare, wasmCloud ~2k, Wasmi ~2k, Spin smaller than Wasmtime but CNCF-visible.
Deep notes on shortlist options
1. Wasmtime (engine)
- Who: Standards-heavy Bytecode Alliance; wide production use; monthly release train after 1.0 (1.0 announcement).
- Flight: Bare enough that you define WIT worlds, scheduler, capability imports — exactly the Host TCB model already locked.
- Limits you care about:
StoreResourceLimiter (memory/tables/instances); fuel (deterministic CPU); epoch interruption (cheap wall-time yield/trap) (Interrupting Execution) — maps cleanly to Host Wasm resource limits (memory kill, CPU throttle via fuel/scheduling, wall-time kill). - Limitations: No built-in cron/HTTP product — you build Scheduled work and event wakes (intentional). You maintain more Host code than Spin.
- License vs AGPL Host: Apache-2.0-WITH-LLVM-exception is a normal permissive dependency under an AGPL application (confirm lawyer review for distribution; technically routine).
2. Spin (framework)
- Who: Fermyon-origin; now CNCF Sandbox multi-stakeholder path.
- Flight: High —
spin.toml, triggers, factors. Custom triggers explicitly experimental and may break across versions (embedding docs). - Fit: Timer trigger ≈ Scheduled work pattern (good reference). Household Shell + Dataset Grants + consent UX is not Spin’s product center — you’d fight or wrap a lot of Spin assumptions.
- Limitations: Framework churn; guest APIs tied to Spin worlds/factors; embedding is Rust-centric.
- License: Apache-2.0 — fine as dependency; product shape is the issue.
3. wash-runtime / wasmCloud
- Who: CNCF Incubating; Cosmonic commercially adjacent; creators include Liam Randall / Kevin Hoffman lineage; Bailey Hayes (Cosmonic) prominent (incubating announcement).
- Flight: High — capability providers/plugins, cluster/lattice,
washCLI. - Fit: Excellent prior art for deny-by-default capabilities (already deferred third-party providers as vision). Poor as the named core of a product that deliberately avoids the wasmCloud name collision.
- Limitations: Distributed/NATS-oriented gravity; embed crate stability/publish story historically weaker than crates.io Wasmtime; CNCF LFX “health” metrics have looked soft vs giants (treat as signal, not verdict).
- License: Apache-2.0.
Missed options — verdict
| Missed | Why not primary Host |
|---|---|
| Wasmer | Fine Rust engine; WASIX fork risk; CM/WASI P2 historically behind Wasmtime; Singlepass BUSL wrinkle |
| WasmEdge | Strong edge/AI; C++ core + versioned native lib; CM incomplete vs BA stack |
| Wasmi | Great interpreter/fuel; no first-class CM Host |
| WAMR | Embedded C — wrong scale |
| Extism | Plugin ABI, not Dataset WIT |
| Lunatic | Actor runtime niche — different product |
Nothing missed that clearly beats Wasmtime direct for “Rust Host, WIT Dataset world, Host-mediated capabilities, custom Shell.”
Fit to locked requirements (checklist)
| Requirement | Wasmtime | Spin | wash-runtime |
|---|---|---|---|
| Custom Dataset/Grant WIT | ✅ You define | ⚠️ Via factors/worlds | ⚠️ Via plugins |
| Deny-by-default Host caps | ✅ Import-only | ✅ Factors | ✅ Plugins (inspiration) |
| Scheduled work | ✅ You schedule | ✅ Timer trigger | ⚠️ Host/cluster oriented |
| Resource limits (mem/CPU/time) | ✅ Limiter + fuel/epoch | ✅ Underlying Wasmtime + framework | ✅ Underlying Wasmtime |
| No App sockets | ✅ Don’t link WASI sockets | ✅ Don’t grant factor | ✅ Don’t grant plugin |
| Rename away from wasmCloud | ✅ | ✅ | ❌ brand/ecosystem |
| Contributor-spec stack clarity | ✅ One engine | ⚠️ Framework + engine | ⚠️ Ecosystem |
License quick list
| Artifact | SPDX-ish |
|---|---|
| Wasmtime | Apache-2.0 WITH LLVM-exception |
| Spin | Apache-2.0 |
| wasmCloud / wash-runtime | Apache-2.0 |
| Wasmer (most) | MIT; Singlepass BUSL-1.1 (v6+) |
| WasmEdge | Apache-2.0 |
| Wasmi | MIT OR Apache-2.0 |
None of the shortlist cores are copyleft in a way that forces the Host to be Apache; your locked AGPL-3.0-or-later Host remains a separate product license choice.
Practical recommendation for grilling (not a lock)
Still Wasmtime direct + custom WIT for the contributor spec; cite Spin timers and wasmCloud plugins as patterns, not dependencies. Revisit Spin only if you later want to become a Spin-shaped app platform.