5 ms·
You can't create 1M threads on Windows (or OS X, for that matter) because there won't be enough RAM for stack space. (also, running more threads than physical c
by wizzard0 11y ago
You can't create 1M threads on Windows (or OS X, for that matter) because there won't be enough RAM for stack space. (also, running more threads than physical cores on CPU-bound task is pretty pointless).
Maybe you mean we should schedule something which has a complete event loop? That would be a lot more fair wrt the Akka version, but the Go version does not create any threads either.
- solutionyogi 11y agoNot sure what you mean by complete event loop. But I have a strong feeling that you are comparing apples to oranges in your benchmark.
- wizzard0 11y agoIt's indeed apples vs oranges vs pies (Actors/Coroutines/Futures). Probably should make a table :)