Standard Library

March 13, 2026 ยท View on GitHub

The Zen C Standard Library provides a comprehensive collection of modules and types for common tasks, ranging from low-level bit manipulation to high-level networking and JSON processing.

Modules

ModuleDescription
BigFloatArbitrary-precision floating-point arithmetic.
BigIntArbitrary-precision integer arithmetic.
BitsLow-level bitwise operations (rotl, rotr).
ComplexComplex number operations.
CryptoCryptographic primitives (SHA1).
CUDACUDA GPGPU operations and interoperability.
EncodingData encoding utilities (Base64).
EnvProcess environment variables access.
FSFile system I/O and directory operations.
IOStandard Input/Output and formatting.
IterCustom iterator traits and protocols.
JSONDOM-style JSON parsing and serialization.
MapGeneric hash map implementation.
MathMathematical constants and functions.
MemMemory management, allocators, and traits.
NetTCP, UDP, HTTP, DNS, and URL parsing.
OptionOptional values wrapper (Some/None).
PathCross-platform file path manipulation.
ProcessProcess execution and management.
ResultError handling pattern (Ok/Err).
RegexRegular expressions support.
RandomPseudo-random number generator.
SIMDHardware-optimized vector types.
QueueFIFO queue (Ring Buffer) implementation.
SetGeneric hash set implementation.
SliceLightweight non-owning array views.
SortZero-overhead sorting engine.
StackLIFO stack implementation.
StringGrowable, heap-allocated string type.
ThreadMultithreading and synchronization.
TimeTime measurement and sleep utilities.
UTF-8Unicode and UTF-8 handling utilities.
VectorGrowable dynamic array type.