http://www.perlmonks.org?node_id=955297


in reply to Re^2: how did blocking IO become such a problem?
in thread how did blocking IO become such a problem?

... in exchange for faster context switches ...

If that were all threading bought you, I'd agree. But it isn't. It isn't even the primary benefit.

The primary benefit is the simplified code that results from having each logical part of your application run as a simple linear flow or loop, with only that state it needs, visible to it.

The second benefit is the ability to prioritise some of those logical flows over others, secure in the knowledge that when something is ready to be done, it will get done in a timely fashion, within the priorities specified.

Old timers tend to concentrate on the perceived -- usually second-hand -- problems, rather than the very real benefits.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?