6 ms·
Like C# (and now ES7's) async/await?
by modarts 12y ago
Like C# (and now ES7's) async/await?
- pron 12y agoNot 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.