Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Haskell (or rather GHC) offers a blocking programming model (e.g. spawn a thread per connection and make blocking reads/writes on the socket) but uses asynchronous I/O in its implementation (one thread uses epoll/kqueue/poll to do the I/O and the CPU bound threads are scheduled on a thread pool).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: