Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's sort of a wall of text.

I'd be curious to see

1. A Hello World, absolute minimum example

and

2. Doing something it's designed to do well, cut down to as small an example as possible.

Sheez, downvoters, I'm curious about it, and want to see an example. You don't learn to drive a car by reading the engine specs, either.



You can find some hello world level examples here https://github.com/axboe/liburing/tree/master/examples.

Right now, what it can do really well is non-blocking file IO. My (limited) understanding is that as of now, the benefits of io_uring over epoll for network IO is a bit more ambiguous. That said, io_uring is adding new features (already available in linux 6 kernel) that are really promising. See https://github.com/axboe/liburing/wiki/io_uring-and-networki....


You can find some "hello-world" style examples here, along with fantastic tutorial materials:

https://unixism.net/loti/tutorial/index.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: