Hacker News new | ask | show | jobs
by trimbo 5179 days ago
Or C, C++, Java, Python or Ruby.

Every language has solutions for non-blocking I/O, even the boring ones.

1 comments

C 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.