logoalt Hacker News

loegyesterday at 6:32 PM1 replyview on HN

IOCP is great and was ahead of Linux for decades, but io_uring is also great. It's a different model, not a poor copy.


Replies

torginusyesterday at 7:21 PM

I think they are a bit different - in the Windows kernel, all IO is asynchronous on the driver level, on Linux, it's not.

io_uring didn't change that, it only got rid of the syscall overhead (which is still present on Windows), so in actuality they are two different technical solutions that affect different levels of the stack.

In practice, Linux I/O is much faster, owing in part to the fact that Windows file I/O requires locking the file, while Linux does not.

show 1 reply