top | item 38633654

(no title)

bufo | 2 years ago

Great! I was looking into something like this. I assume ending up with epoll will be better?

discuss

order

eqvinox|2 years ago

Considering that epoll is Linux specific anyway, I would highly advise going straight to io_uring. epoll has a whole bunch of footguns in particular with edge triggered modes of operation; io_uring has a higher initial threshold in understanding how it works but is worth that effort.

(Unless you need to support older Linux kernels that have epoll but no io_uring yet.)

bufo|2 years ago

Oh yeah I meant io_uring too. Plus Windows copied it so you can implement things very similarly for Windows.