Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36777

Re: Thought of the day

Date 2013-01-14 00:31 -0500
From Dave Angel <d@davea.name>
Subject Re: Thought of the day
References <50f3869d$0$29983$c3e8da3$5496439d@news.astraweb.com>
Newsgroups comp.lang.python
Message-ID <mailman.492.1358155623.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 01/13/2013 11:16 PM, Steven D'Aprano wrote:
> A programmer had a problem, and thought Now he has "I know, I'll solve 
> two it with threads!" problems.
>
>

++10

I've been thinking about threads lately, and have come to the tentative
conclusion that they're a solution which has outlived its usefulness for
99% of the use cases.  Much like the Windows 3.1 model of memory usage,
where all memory was shared, and apps promised not to step too hard on
each other.  Or the "640k is more memory than any application will ever
need" notion.

When you multiprocess, everything is private except those things you
work at sharing.  When you multithread, everything is shared, and you
promise not to intentionally do anything too nasty with the ability.

-- 

DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Thought of the day Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-14 04:16 +0000
  Re: Thought of the day Dave Angel <d@davea.name> - 2013-01-14 00:31 -0500
    Re: Thought of the day Dan Sommers <dan@tombstonezero.net> - 2013-01-14 14:44 +0000
      Re: Thought of the day Dave Angel <d@davea.name> - 2013-01-14 12:12 -0500
  Re: Thought of the day alex23 <wuwei23@gmail.com> - 2013-01-14 04:09 -0800
  Re: Thought of the day Tim Chase <python.list@tim.thechases.com> - 2013-01-14 08:15 -0600
  Re: Thought of the day Chris Angelico <rosuav@gmail.com> - 2013-01-15 01:18 +1100
  Re: Thought of the day Grant Edwards <invalid@invalid.invalid> - 2013-01-14 15:08 +0000
  Re: Thought of the day Michael Torrie <torriem@gmail.com> - 2013-01-14 10:37 -0700
    Re: Thought of the day John Gordon <gordon@panix.com> - 2013-01-14 18:09 +0000
      Re: Thought of the day Michael Torrie <torriem@gmail.com> - 2013-01-14 11:25 -0700
  Re: Thought of the day Dave Angel <d@davea.name> - 2013-01-14 09:31 -0500
  Re: Thought of the day Antoine Pitrou <solipsis@pitrou.net> - 2013-01-15 16:48 +0000
    Re: Thought of the day DJC <djc@news.invalid> - 2013-01-15 22:54 +0000
  Re: Thought of the day Tim Golden <mail@timgolden.me.uk> - 2013-01-15 16:59 +0000
  Re: Thought of the day Chris Angelico <rosuav@gmail.com> - 2013-01-16 07:27 +1100
  Re: Thought of the day John Ladasky <john_ladasky@sbcglobal.net> - 2013-01-16 23:26 -0800

csiph-web