3 ms·
Or C, C++, Java, Python or Ruby. Every language has solutions for non-blocking I/O, even the boring ones.
by trimbo 15y ago
Or 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.