The future of concurrent programming

Jeff Nowakowski jeff at dilacero.org
Tue May 29 13:46:52 PDT 2007


Sean Kelly wrote:
> Because context switching is expensive.  Running thousands of threads on 
> a system with only a few CPUs may use more time simply switching between 
> threads than it does executing the thread code.

Did you look at the throughput in the graph I linked to?  Erlang has 
it's own concept of threads that don't map directly to the OS.  Look again:

http://www.sics.se/~joe/apachevsyaws.html

-Jeff



More information about the Digitalmars-d mailing list