Skip to main content

Module host

Module host 

Source
Expand description

ROLE host/* (shell): the loops that drive the runtime (design §9). Hosts own the OS event loop, the paint surface and the clock; they see the Runtime only (ban F10). The headless host is the deterministic test host: it compiles without features, runs every §9.2 script, and paints into a recording context.

The native (winit) host lives behind feature native ([native]); the web host lives behind feature web ([web]).

Structs§

HeadlessHost
A runtime driven by hand: no event loop, no wall clock, no GPU.