Is Zig planning to build something like Go's `-race` detector or Tokio's Loom framework as part of / a follow on to io?

I’ve built a poor mans’s version of this, and I’m wondering if I should invest more effort into it or wait for Zig to do it way better, or hoping that maybe it already does it and I’m just oblivious or if there’s an existing library someone’s built that’s less janky than mine.

I know about TSan already. But this is not as robust as what I’d like.

Yes there are plans to have a test implementation of Io that integrates with the fuzzer for testing what happens when varying I/O scheduling. As for specifically catching races like Go’s detector, not sure, but if it’s feasible I would assume that we’re going to take a stab at it as well :^)

9 Likes

Nice. One of the things which helped me a lot in Go.