3 ms·
Or Haskell, Erlang or various other languages that have better solutions for non-blocking I/O.
by Peaker 15y ago
Or Haskell, Erlang or various other languages that have better solutions for non-blocking I/O.
- trimbo 15y agoOr C, C++, Java, Python or Ruby. Every language has solutions for non-blocking I/O, even the boring ones.
- Peaker 15y agoC doesn't have a good solution for non-blocking IO. Managing callbacks and their lexical scopes manually is quite painstaking. User-level threads are non-standard, and ordinary threads are too heavy. All forms of threads lose much of C's benefit due to the relatively heavy stack allocation per thread.