Skip to content

๐Ÿ“ฆ Modules โ€‹

Xila is organized as composable modules with explicit contracts and concrete implementations. Most core modules expose a singleton manager (OnceLock + lock-protected state), then publish a typed API consumed by other modules and executables.

This section is an architecture map, grouped by system role.

  1. ๐Ÿ—ƒ๏ธ Virtual file system
  2. ๐Ÿ Task
  3. ๐ŸŒ Network
  4. ๐Ÿ”— ABI
  5. ๐Ÿ”— Bindings (runtime integration path)
  6. Remaining modules and integrations: ๐Ÿง  Memory, ๐Ÿ‘ฅ Users, ๐Ÿ•“ Time, ๐Ÿ“ Log, ๐Ÿ–ผ๏ธ Graphics, ๐Ÿ–ฅ๏ธ Virtual machine

Foundation modules โ€‹

  • ๐Ÿง  Memory: Allocation contract (ManagerTrait), global allocator bridge, capability flags, and cache/page helpers.
  • ๐Ÿ Task: Global task registry, executor/spawner integration, metadata inheritance, and signal delivery.
  • ๐Ÿ‘ฅ Users: In-memory user/group database and identifier/membership resolution.
  • ๐Ÿ•“ Time: Global time source abstraction over a direct character device.
  • ๐Ÿ“ Log: Global logging bridge (LoggerTrait) on top of log ecosystem integration.

Runtime modules โ€‹

Interop and runtime-integration pages โ€‹

  • ๐Ÿ”— ABI: C ABI surface split across declarations, symbol definitions, and per-task ABI context.
  • ๐Ÿ”— Bindings: Module-adjacent runtime integration implemented in executable/WASM host paths for host-call dispatch and guest/host pointer translation.
  • ๐Ÿ–ฅ๏ธ Virtual machine: Module-adjacent runtime integration implemented in executable/WASM host paths for WAMR execution, instantiation, and host callback wiring.

Cross-module wiring (high level) โ€‹