C+
Packages · View as Markdown

Packages

Packages are directories with a Cplus.toml, source modules, and optional tests, documentation, link metadata, and platform variants. Add a package with cpc pm add; see Modules and packages and Package manager for resolution and manifest rules.

Core library and data

  • stdlib — collections, text, I/O, concurrency, async runtime pieces, files, networking, and platform shims.
  • json — JSON parsing and serialization.
  • sqliteConnection and Statement; raw bindings are available as sqlite/raw.
  • arena — growable bump allocator.
  • static_arena — fixed-capacity allocator stored in the value itself, with no heap allocation.
  • uuid and log — identifiers and structured logging.

Facet applications

  • facet — platform-neutral UI tree, elements, components, screens, services, and navigation vocabulary.
  • facet_runtime — application entry point, named windows, routes, history, and backend installation.
  • facet_appkit — macOS backend.
  • facet_uikit — iOS backend.
  • facet_android — Android backend.
  • facet_gtk — GTK 4 backend for Linux.
  • facet_win32 — native Win32 backend.
  • flex_layout — shared Flexbox and Grid layout engine.
  • inspector — mounted-tree inspection and editing for development.

Agent surface

See Agent surface for the shared authorization model.

Native capabilities

Each package page records its platform coverage and explicit unsupported outcomes.

Platform bindings

Numerics, GPU, and AI

Real-time

  • rt — fixed pools, rings, and other primitives used with the compiler's real-time contracts.
  • rt_darwin — Darwin-specific real-time support.