Standard Library Overview

Everything lives under the global std object. The namespace is flat:
std.string, std.sort, std.math are direct members of std (no
std.algo or std.os nesting); a few OS helpers sit directly on std too
(see std.os). All of it is restricted (read-only). Call everything
with dot — colon is only for pipes on values (see
Pipes).

Module pages

Algorithm

System

  • std.file — file read/write, list, glob, temp
  • std.path — path resolution and decomposition
  • std.env — environment variables, args
  • std.os — system/exit/chdir/pid/arg_parser directly on std
  • std.time — time, timers, calendars
  • std.uuid — uuid4()/uuid7()/uuid3()/uuid5(), validation, byte conversion
  • std.assert — assert/assert_eq/assert_ne/assert_throws
  • std.dbus — D-Bus calls and signals (optional at build)
  • std.pw — PipeWire audio devices, volume, defaults (optional at build)
  • std.pa — PulseAudio audio devices, volume, defaults (optional at build)

Concurrency

Network