Update to zig 0.16.0 #13

Closed
opened 2026-04-15 15:41:42 +02:00 by maleszka · 2 comments
Owner

zig 0.16.0 just dropped

Briefly looking at the release notes, these things can be done better now:

  • we can probably do log.zig without hard-coding tags, thanks to the new way enum literals are handled
  • cancellation mechanisms for long-running processes (st.Io, Future, Operation, Batch?), will it help implement #2?
zig 0.16.0 [just dropped](https://ziglang.org/download/0.16.0/release-notes.html) Briefly looking at the release notes, these things can be done better now: - we can probably do [log.zig](https://repos.adamm.rocks/maleszka/wbij/src/commit/f7b656644159750407143f4689e523979c6b26af/src/log.zig) without hard-coding tags, thanks to the new way enum literals are handled - cancellation mechanisms for long-running processes (st.Io, Future, Operation, Batch?), will it help implement #2?
kbity self-assigned this 2026-07-28 18:20:43 +02:00
Author
Owner

After some research: the cancellation mechanism works only for std.Io.Future and other async primitives. Here, we don't have any asynchronicity, so there is no need to do any async cancellation.

If we introduce asynchronicity (e.g. for ContestGraph), then it might help.

After some research: the cancellation mechanism works only for `std.Io.Future` and other async primitives. Here, we don't have any asynchronicity, so there is no need to do any async cancellation. If we introduce asynchronicity (e.g. for `ContestGraph`), then it might help.
Author
Owner

Closed by #29

Closed by #29
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
maleszka/wbij#13
No description provided.