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

In both goroutines and events, blocking IO will be parked waiting on a select (or similar device). In both, they implicitly context switch while blocking, meaning that processing ready IO might have to wait for other stuff to reach a scheduling point. Unlike events, goroutines can be processed on more than one underlying OS thread at once.

Advantage: goroutines.



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

Search: