0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00
zml/stdx
Benjamin Rabier 6a155f7907 stdx: add FirstError, the first error of concurrent tasks
Tasks that run concurrently and may each fail often need to keep the first
failure and let the others see it. FirstError(E) keeps it in one atomic
word: set stores an error unless one is already kept and says whether it
kept this one, and get reads it back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
History 2026-11-05 18:41:11 +01:00
..
bounded_array.zig zml/sharding: use logical meshes (#943) 2026-10-16 15:27:30 +02:00
BUILD.bazel stdx: Add cpu.zig with cpu utilities (#902) 2026-10-05 16:48:54 +02:00
cpu.zig stdx: Add cpu.zig with cpu utilities (#902) 2026-10-05 16:48:54 +02:00
crypto.zig zml/io/vfs: fixes for Zig 0.16.0-dev.2611+f996d2866 + new S3 VFS (#388) 2026-02-19 10:48:15 +01:00
debug.zig zml/Tensor: explicit sharding in Tensor code (#868) 2026-10-06 15:37:22 +02:00
flags.zig zig 0.17 (second attempt) (#923) 2026-10-13 17:11:38 +02:00
fmt.zig zig 0.17 (second attempt) (#923) 2026-10-13 17:11:38 +02:00
Io.zig stdx: fix Duration.hz and delete the dead AllocatingLimitedConcurrentGroup 2026-11-03 10:22:53 +01:00
json.zig zig 0.17 (second attempt) (#923) 2026-10-13 17:11:38 +02:00
math.zig workspace: add debug/release configurations and various stdx (#234) 2025-05-19 21:26:28 +02:00
meta.zig zig 0.17 (second attempt) (#923) 2026-10-13 17:11:38 +02:00
process.zig platforms/neuron: bump toolchain and stabilize support (#476) 2026-05-12 09:58:32 +02:00
queue.zig Bump rules_zig, add zig_srcs targets, cleanup build (#267) 2025-07-15 14:18:15 +02:00
segmented_list.zig zig 0.17 (second attempt) (#923) 2026-10-13 17:11:38 +02:00
stdx.zig stdx: add FirstError, the first error of concurrent tasks 2026-11-05 18:41:11 +01:00
time.zig stdx: add time.hzFloat 2026-01-05 09:07:18 +00:00
unicode.zig stdx: add utf32 helpers 2026-01-14 18:00:22 +01:00