News for hackers. Stuff that matters.
Re:Io_uring By Example: cat, cp and a web server with io_uring by Aissen on Monday April 06, 2020 @01:37PM (#22795823)
It might be a newbie question, but why use fputc and outputing character by character instead of using liburing to write directly to fd 1 ? (or writev?)
Re:Io_uring By Example: cat, cp and a web server with io_uring by shuss on Monday April 06, 2020 @01:57PM (#22796082)
Yes, you could do that. But I wanted to keep the example programs in the beginning very simple. I the same vein, they only deal with one request at a time, for instance.
Re:Io_uring By Example: cat, cp and a web server with io_uring by Aissen on Monday April 06, 2020 @02:01PM (#22796116)
Makes sense, thanks!