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
- Host: GitHub
- URL: https://github.com/thewawar/zio
- Owner: TheWaWaR
- Created: 2024-07-26T10:39:25.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T09:39:30.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T22:43:11.103Z (about 1 year ago)
- Topics: non-bloking-io, tigerbettle, zig
- Language: Zig
- Homepage:
- Size: 42 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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