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

Like C# (and now ES7's) async/await?


Not quite. async/await are what's known as stackless coroutines, and require explicit usage. Lightweight threads, aka user mode threads, aka fibers, are simply threads that have negligible (or no) cost associated with blocking. Examples include Erlang processes, Go goroutines and Quasar fibers.




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

Search: