Re:Show HN: Zig-DbC – A design by contract library for Zig
by habedi0 on Saturday August 16, 2025 @02:59AM
(#44920923)
I think they want to add lambdas to Zig at some point. The number of changes is high between releases.
[ Parent
| on HN ]
Re:Show HN: Zig-DbC – A design by contract library for Zig
by Defletter on Saturday August 16, 2025 @05:29AM
(#44921717)
Unless something has changed from this (https://github.com/ziglang/zig/issues/1717#issuecomment-1627...), that is unlikely. The irony is that Zig's new async/await strategy is to use event loops with passed-in functions (https://www.youtube.com/watch?v=x3hOiOcbgeA&t=3643s).
Re:Show HN: Zig-DbC – A design by contract library for Zig
by habedi0 on Saturday August 16, 2025 @05:43AM
(#44921794)
That's kinda weird and sad. Lambdas are very useful TBH.