Comment by usrnm

Comment by usrnm a day ago

4 replies

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

mort96 a day ago

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

  • Galanwe a day ago

    I wouldn't count uv/ev/etc as "big heavy IO wrapper library".

    • mort96 a day ago

      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.