Y
Hacker News
new
|
ask
|
show
|
jobs
by
wkz
2698 days ago
IHMO, threads are mostly useful for scaling a workload beyond the capacity of a single core. For all other types of concurrency problems, a single thread of execution using some kind of event loop is usually a better fit.