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


Groups > comp.lang.python > #36777

Re: Thought of the day

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.200
X-Spam-Level **
X-Spam-Evidence '*H*': 0.60; '*S*': 0.00; 'nasty': 0.07; 'programmer': 0.11; 'threads': 0.16; 'usage,': 0.16; 'wrote:': 0.17; 'memory': 0.18; 'windows': 0.19; 'apps': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '3.1': 0.29; 'cases.': 0.29; "d'aprano": 0.29; 'steven': 0.29; 'to:addr :python-list': 0.33; 'problem,': 0.35; 'pm,': 0.35; 'except': 0.36; 'anything': 0.36; "i'll": 0.36; 'too': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'step': 0.39; 'received:192': 0.39; 'application': 0.40; 'where': 0.40; 'received:192.168': 0.40; 'solve': 0.62; 'ever': 0.63; 'more': 0.63; 'other.': 0.64; 'promise': 0.65; 'subject:day': 0.66; 'header:Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply- to:no real name:2**0': 0.72; 'shared,': 0.84; 'lately,': 0.91; 'promised': 0.91
Date Mon, 14 Jan 2013 00:31:59 -0500
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: Thought of the day
References <50f3869d$0$29983$c3e8da3$5496439d@news.astraweb.com>
In-Reply-To <50f3869d$0$29983$c3e8da3$5496439d@news.astraweb.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:4swUePDlSexIjjux2AmcYjmkYGyGdv3qcQ3OsCOZqCt ATBAepV0pvYyaIe73yJQNmXmMpLNGQfR2sIFv0sa6cZcDAu8dp 0/Xzz3zOOiq8U5uLwLBRHOapCRNEOWe4Op4U2MaYrip+ZD3mnD kOGqXkLUnx6axdy6q/j1NZR9vHA1EsBhZtzhZhC7D/ekJaTRqP 9cy6A6FQJugHdBPUP1pFLt3HHaxWGP1vjdAMnZH/llM44mbcYX /OJE77jS1JnTnM018QiDZIHJC+ePg1BC//kt5usi7T4fkIMfd8 VBZFAqRRFWKx5opiWlOiwqexBnBwjAEHMV8vNIRtykdahIxIA= =
X-Mailman-Approved-At Mon, 14 Jan 2013 10:27:02 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.492.1358155623.2939.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1358155623 news.xs4all.nl 6951 [2001:888:2000:d::a6]:51982
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36777

Show key headers only | 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