An open API service indexing awesome lists of open source software.

https://github.com/thewawar/zio

Zig io from tigerbeetle/src/io
https://github.com/thewawar/zio

non-bloking-io tigerbettle zig

Last synced: about 1 year ago
JSON representation

Zig io from tigerbeetle/src/io

Awesome Lists containing this project

README

          

# Zio
A cross-platform event loop library extract from [tigerbeetle](https://github.com/tigerbeetle/tigerbeetle/tree/main/src/io) code base.

Supported platform:
* Linux (io_uring)
* Darwin (kqueue)
* Windows (IOCP)

## Examples

See: `src/io/test.zig`

## Import Guide
```shell
zig fetch --save https://github.com/TheWaWaR/zio/archive/.tar.gz
```

In `build.zig`
```zig
const zio = b.dependency("zio", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("zio", zio.module("zio"));
```

## LICENSE

Apache 2.0