libxev
hellepoll
libxev | hellepoll | |
---|---|---|
6 | 1 | |
1,661 | 251 | |
- | - | |
7.9 | 10.0 | |
7 days ago | over 12 years ago | |
Zig | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libxev
-
libxev: A cross-platform, high-performance event loop
io_uring support is obviously great & excellent, fulfills the "high performance" part well.
i was not expecting "Wasm + WASI" support at all. that's very cool. implementation is wasi_poll.zig (https://github.com/mitchellh/libxev/blob/main/src/backend/wa...). not to be unkind, but this makes me wonder very much if WASI is already missing the mark, if polling is the solution offered.
gotta say, this is some very understandable clean code. further enhancing my sense that i really ought be playing with zig.
- Show HN: Async tasks in 350 lines of C
-
Epoll: The API that powers the modern internet (2022)
You might be interested in a pure Zig implementation of these primitives by Mitchell in his libxev library: https://github.com/mitchellh/libxev
-
Zig: The Modern Alternative to C
https://github.com/mitchellh/libxev
- one from the Tigerbeetle DB
- Libxev: A cross-platform, high-performance event loop
hellepoll
-
Epoll: The API that powers the modern internet (2022)
it was eons ago that I looked at this so I don't remember the technical details, but here's a c++ framework that used epoll https://github.com/williame/hellepoll
What are some alternatives?
unzig - Zig with Unused Variables
http.zig - An HTTP/1.1 server for zig
async_io_uring - An event loop in Zig using io_uring and coroutines
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
sokol-tools - Command line tools for use with sokol headers
libevent - Event notification library
libuv - Cross-platform asynchronous I/O
zig-pico - Not so scuffed Zig project for using the Raspberry Pi Pico SDK
otp - Erlang/OTP
mach - zig game engine & graphics toolkit
aviary.sh - Minimal distributed configuration management in bash