BoundedArray
Drop-in for removedstd.BoundedArray in Zig 0.15+. Same idea: fixed capacity, dynamic length, nothing on the heap.
FilePath
Stack buffer sized tofs.max_path_bytes. Build paths from segments without allocating.
FixedString
Small inline string buffer for titles, labels, and protocol names that must stay on the stack. Seefixed_string.zig for capacity and append APIs.
When to use what
| Type | Capacity | Best for |
|---|---|---|
BoundedArray(T, N) | Comptime N | Homogeneous lists (IDs, rects, events) |
FilePath | max_path_bytes | Config paths, icon paths, socket paths |
FixedString(N) | Comptime N | Short names and cached strings |

