Hacker News new | ask | show | jobs
by twic 2654 days ago
> Use a NIO network lib based on epoll (kqueue under MacOS/FreeBSD) to provide high-concurrency, high-performance network IO

What is "NIO" here? I am familiar with NIO as New Input-Output from Java, which was the extension of the standard library to cover asynchronous I/O. Is the author using "NIO" to mean asynchronous IO? Their use of '"JSP-like" CSP file' elsewhere hints at a Java background.

2 comments

Maybe I misused the proper nouns, what I mean is 'non-blocking I/O'. Thanks for your reminder.
I think he just means "Network based Input/Output" with it. Based on kqueue, which is a a notification interface comparable to epoll on linux.