mookums/tardy
An asynchronous runtime for writing applications and services. Supports io_uring and epoll for Linux, kqueue for Darwin & BSD, and poll for the rest.
Tardy (def: delaying or delayed beyond the right or expected time; late.) is an asynchronous runtime for writing applications and services in Zig. Most of the code for this project originated in zzz, a performance oriented networking framework.
Tardy is a thread-local asynchronous runtime for Zig, providing the core implementation for asynchronous libraries and services.
File
and Dir
for Filesystem OperationsSocket
for Network OperatonsLatest Zig Stable: 0.13.0
Latest Tardy Release: 0.2.0
zig fetch --save git+https://github.com/mookums/tardy#v0.2.0
You can then add the dependency in your build.zig
file:
const tardy = b.dependency("tardy", .{
.target = target,
.optimize = optimize,
}).module("tardy");
exe.root_module.addImport(tardy);
IMPORTANT Tardy is currently alpha software. It's fast and it works but is still experimental!
io_uring
for Linux (>= 5.1.0).epoll
for Linux (>= 2.5.45).kqueue
for BSD & Mac.poll
for POSIX-compliant systems.File
, Dir
and Socket
).Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tardy by you, shall be licensed as MPL2.0, without any additional terms or conditions.