Hacker News new | ask | show | jobs
by modarts 4099 days ago
Like C# (and now ES7's) async/await?
1 comments

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.