Skip to content

Demos

The demo applications are small, self-contained functions meant to introduce you to dtcore.

Demo catalog

Demo Summary
demo_buffer Buffer allocation and usage
demo_error Error propagation and inspection
demo_hello Minimal example
demo_random Facade-based component usage

Running demos

Check out the Quick Start for the easiest path.

For platform details, take a look at Running Apps.

Conventions used by demos

Demos follow the same conventions as the library:

  • Flat namespaces using dt..._ prefixes
  • Explicit allocation and disposal
  • Structured error propagation via dterr_t
  • Use of vtable facades when available
  • Warning-clean, portable C