python-c-io_uring-example
io_uring-echo-server
Our great sponsors
python-c-io_uring-example | io_uring-echo-server | |
---|---|---|
4 | 1 | |
25 | 358 | |
- | - | |
0.0 | 3.6 | |
over 2 years ago | 3 months ago | |
C | C | |
Apache License 2.0 | MIT License |
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.
python-c-io_uring-example
-
Python frontend with Zig backend
The other way around is also possible, importing Zig into Python, I have an example with C: https://github.com/metacall/python-c-io_uring-example
- Using io_uring from Python by JITing C code for writing high performance servers
-
Using io_uring from Python by JITing C code for writing high performance servers with MetaCall
We have recently implemented support for C language and as a demonstration, here's an example of using ui_uring from Python: GitHub Repository.
io_uring-echo-server
-
Put an io_uring on it: Exploiting the Linux Kernel
> Network IO discussion: https://github.com/axboe/liburing/issues/536
I see an issue with a narrative but zero discussion at that link.
Furthermore, your io_uring benchmark being utilized in that issue isn't even batching CQE consumption. I've submitted a quick and dirty untested PR adding rudimentary batching at [0]. Frankly, what seems to be a constant din of poorly-written benchmarks portraying io_uring in a negative light vs. epoll is getting rather old.
[0] https://github.com/frevib/io_uring-echo-server/pull/16
What are some alternatives?
py-cryptonight - Python Cryptonight binding / extension. Monero hash function, proof-of-work, cn_slow_hash()
rio - pure rust io_uring library, built on libc, thread & async friendly, misuse resistant
kcs - Scripting in C with JIT(x64)/VM.
liburing
MoarVM - A VM with adaptive optimization and JIT compilation, built for Rakudo
kbio - Another Async IO Framework based on io_uring
ravi - Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers
io-uring - The `io_uring` library for Rust
tinycc - Unofficial mirror of mob development branch
async_io_uring - An event loop in Zig using io_uring and coroutines
adorad - Fast, Expressive, & High-Performance Programming Language for those who dare
Polyphony - Fine-grained concurrency for Ruby