Zig 0.16.0 std.Io.Evented io_uring networking

Hi! As zig 0.16.0 is approaching - I see a lot of stubs there and was wondering: on x86_64 will there be the std.Io.Evented io_uring networking be implemented, or is this maybe considered experimental?

Thank you!

        .netListenIp = netListenIpUnavailable,
        .netAccept = netAcceptUnavailable,
        .netBindIp = netBindIp,
        .netConnectIp = netConnectIpUnavailable,
        .netListenUnix = netListenUnixUnavailable,
        .netConnectUnix = netConnectUnixUnavailable,
        .netSocketCreatePair = netSocketCreatePairUnavailable,
        .netSend = netSendUnavailable,
        .netRead = netReadUnavailable,
        .netWrite = netWriteUnavailable,
        .netWriteFile = netWriteFileUnavailable,
        .netClose = netClose,
        .netShutdown = netShutdown,
        .netInterfaceNameResolve = netInterfaceNameResolveUnavailable,
        .netInterfaceName = netInterfaceNameUnavailable,
        .netLookup = netLookupUnavailable,
3 Likes

This has answered itself :wink: - not in 0.16.0

I’ll update my zio project soon, I was waiting for the release, so once I’m done, you will be able to use evented Io even if it’s not finished in stdlib.

7 Likes

Thank you. I was in this case more interested in - how the stdlib would implement it, and see it’s effects. For other stuff on 0.15.2 I have also implemented my own io_uring implementation - as a test for in the particular case “highspeed networking clients”. But very problem/domain specific.
For writing a public library I would like to stay without dependencies when this makes sense, or the standard library would provide similar functionality.