3 ms·
You can actually create millions of threads. Threads are just coroutines managed by the kernel after all.
by haileys 4y ago
You can actually create millions of threads. Threads are just coroutines managed by the kernel after all.
- naasking 4y agoIf you can create millions of threads with some hardware, then you can create billions of coroutines on that hardware. It's just a fact that you can create 2-3 orders of magnitude more coroutines than you can kernel threads on any given hardware.