4 ms·
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
by davidw 3y ago
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.
- thinkharderdev 3y agoYou can find some hello world level examples here https://github.com/axboe/liburing/tree/master/examples 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-networking-in-2023 https://github.com/axboe/liburing/wiki/io_uring-and-networki....
- gavinray 3y agoYou can find some "hello-world" style examples here, along with fantastic tutorial materials: https://unixism.net/loti/tutorial/index.html https://unixism.net/loti/tutorial/index.html