Packages
Compiler builtins and core modules for everyday systems programming.
builtin 7 docs Compiler-provided functions for heap allocation and command-line arguments, plus operating system and build configuration constants. The builtin namespace is available without an import.
2 enums / 2 constants / 3 funcs
core 36 docs Foundational types, numeric limits, status codes, and the allocator interface shared by core packages. Includes slice allocation, hashing, and equality helpers.
1 structs / 35 funcs
core.atomic 40 docs Atomic load, store, exchange, and compare-exchange operations for booleans, integers, and raw pointers.
0 structs / 40 funcs
core.containers 70 docs Generic containers for storing and organizing values: fixed-capacity arrays, growable array lists, hash maps, sets, and stacks. Includes initialization, cleanup, and container status codes.
8 structs / 62 funcs
core.fmt 6 docs Formats values into strings or prints them to standard output. Supports format markers for numbers, text, characters, and other values.
0 structs / 6 funcs
core.imgui 112 docs Immediate-mode user interface tools for windows, panels, buttons, menus, and text fields. Includes layout, styling, input, font faces and fallback chains, glyph atlases, text measurement, and drawing commands.
30 structs / 82 funcs
core.io 48 docs Reads and writes files as bytes, text, or lines. Includes directory operations and helpers for joining, normalizing, and inspecting file paths.
2 structs / 46 funcs
core.json 8 docs Parses JSON into values, arrays, and objects, looks up object properties, and saves values as JSON files. Includes parse status codes and cleanup of allocated values.
2 structs / 6 funcs
core.libc 44 docs Bindings to C library functions for memory allocation, byte and C-string operations, standard I/O, and process termination.
1 structs / 43 funcs
core.math 47 docs Numeric constants and functions for trigonometry, rounding, clamping, and powers of two. Includes integer and floating-point points, sizes, and rectangles.
6 structs / 41 funcs
core.memory 41 docs Heap, arena, permanent, and fixed-slot pool allocators for managing memory. Includes byte-copying and memory-filling helpers.
6 structs / 35 funcs
core.net 38 docs IP address parsing, DNS resolution, and socket communication for TCP and UDP. Includes connection, listening, sending, and receiving operations for IPv4 and IPv6.
6 structs / 32 funcs
core.os 25 docs Low-level file and directory handles, filesystem metadata, working-directory operations, and thread sleep. Wraps platform calls with shared status codes.
4 structs / 21 funcs
core.posix 192 docs Low-level system bindings and compatibility wrappers for files, directories, sockets, and threading. Includes macOS bindings and Windows adapters.
22 structs / 170 funcs
core.process 4 docs Runs external commands and returns their exit status, with optional capture of combined standard output and error. Currently implemented on macOS; other platforms return Unsupported.
0 structs / 4 funcs
core.runtime 1 docs The default handler for failed slice bounds checks. Reports the invalid index and source location, then terminates the program.
0 structs / 1 funcs
core.strings 54 docs String creation, copying, comparison, splitting, and concatenation, plus a growable string builder. Includes UTF-8 encoding, decoding, validation, and traversal.
2 structs / 52 funcs
core.threading 27 docs Thread creation, joining, detaching, and yielding, plus mutexes and condition variables for synchronization. Includes macOS and Windows implementations.
6 structs / 21 funcs