Comment by usrnm
2 days ago
Aren't there enough wrapper libraries for all programming languages that take care of this under the hood? You don't have to rely on libc only
2 days ago
Aren't there enough wrapper libraries for all programming languages that take care of this under the hood? You don't have to rely on libc only
Sure, there are wrapper libraries. But then I'm met with the question: do I add some big heavy handed IO wrapper library, or ... do I just call poll
I wouldn't count uv/ev/etc as "big heavy IO wrapper library".
I would, especially when nothing else in the program uses it and you just introduce it for one small thing in place of calling poll(). It's over 40 000 loc, over 70 000 including tests.
I certainly would