Hacker News new | ask | show | jobs
by bvrmn 1856 days ago
Laziness is pretty good reason to continue to use select. It's a convenient interface for simple tasks. The very nature of fire a set of fds and get a result beats (e)poll/kqueue/fd-registering based API in UX regard. It's sad there is no alternative with same simple interface and without FD_SETSIZE shortcoming.

Edit: I'm biased by Python which has `select.poll` with API similar to epoll and it's really hard to use it instead of select.

1 comments

poll() is even easier to use, imo.