3 ms·
Is there any reason you used kqueue directly instead of libdispatch for Darwin? Memory allocations?
by williamcotton 4y ago
Is there any reason you used kqueue directly instead of libdispatch for Darwin? Memory allocations?
- sumeetchhetri 4y agoMy main intention was always to learn new things about C++ and hence I always tried to choose the path of maximum resistance and hence tried to work on lower level concepts with my limited abilities. So there is select, poll, dev/poll, event ports, kqueue, epoll, io_uring and i/o completeion ports, on various operating systems that you can use to build something to send/receive bits in/out of the wire. So this was more of a learning and building exercise rather than going with the best option available out there.