Re:Low-Level Optimization with Zig
by ArtixFox on Sunday June 08, 2025 @07:39AM
(#44216334)
Hello can you point me to more information about zig's and rust's io-uring implementations
[ Parent
| on HN ]
Hey Artix!
Zig's is in the standard library. From the commits it was started by Joran from Tigerbeetle, and now maintained by mlugg who is a very talented zig programmer.
https://ziglang.org/documentation/master/std/#std.os.linux.I...
The popular Rust one is tokio's io-uring crate which 1) relies on libc; the zig one just uses their own stdlib which wraps syscalls 2) Requires all sorts of glue between safe and unsafe rust.
github.com/tokio-rs/io-uring