Reference
One page per type in lib/, the library zero-mode programs build on. The pages are generated from the source and its /// comments. For how the pieces fit together, start with the concepts.
| Type | What it is |
|---|---|
Arena |
Growable bump allocator: allocation, scopes, reset, debug checks. |
List |
Growable array of unmanaged items in an arena. |
Dict |
Hash map with unmanaged keys and values in an arena. |
RefList |
List of references: strings, classes, arrays. |
StrDict |
Hash map with string keys compared by text, values of any type. |
RefDict |
Hash map with unmanaged keys and reference values. |
Seq |
Allocation-free query operators over spans: Where, Select, Sum, ... |
Parallel |
Loops whose iterations run on every processor. |
Str |
Parsing, comparing and arena strings; span and string operations. |
StrBuilder |
Growable string buffer in an arena. |
Out |
Buffered, UTF-8 standard output with $"..." formatting. |
In |
Reading lines from standard input. |
Kernels |
SIMD math for inference: dot products, softmax, norms. |
Dos |
DOS only: VGA graphics, keyboard, mouse, speaker, files, clock. |