Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.06; 'framework.': 0.09; 'exceptions,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'garbage': 0.16; 'subject:Java': 0.16; 'threads.': 0.16; 'uncle': 0.16; 'underlying': 0.16; 'sat,': 0.16; 'so.': 0.16; 'wrote:': 0.18; 'possible,': 0.19; 'memory': 0.22; 'saying': 0.22; 'features,': 0.24; 'earlier': 0.24; 'header :In-Reply-To:1': 0.27; 'idea': 0.28; '[1]': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:wiki': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'url:wikipedia': 0.31; 'anyone': 0.31; 'framework': 0.33; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; "he's": 0.36; 'library.': 0.36; 'done': 0.36; 'url:org': 0.36; 'thank': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'mentioned': 0.61; 'skip:* 10': 0.61; 'such': 0.63; 'provide': 0.64; 'talking': 0.65; 'believe': 0.68; '26,': 0.68; 'allocation': 0.74; 'discipline,': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=U6FhNpYqjJKynF6PtjaFxDxMgfTQtliWJc5JfkATsQE=; b=Fyend2pnOs8PmCvPPq/xa//+BSudDUT66MmURCSTbZezRYEgbwsd8mSC8gVDmUbS6n 8++YDMMFMIU6rCYBP9KXvyCv0nxMJ6eMf2aoiCC3MINTwFRWJPXT8dTwpt9RskL29nL/ lU+hUoaAlj2KB4HACdVAY+1Yk7+MBD3U2KS9p9vjUhJr4/m4NcmxtHFfxKbVzWpeEEfQ 6gS1xtITf06SSH33UguQK6VyGmpTpZGq9wPwksfYUu+ZdWKr2AtCEtEBBLj/bAdTf0KK LNLwR0lXZqBbqsXZPpCNbkEYXoWlLGCP3YWSWBthGLBTgIxjef80t+rR95gZZF6ZdfMt RGog== MIME-Version: 1.0 X-Received: by 10.68.137.138 with SMTP id qi10mr5312719pbb.113.1382769375330; Fri, 25 Oct 2013 23:36:15 -0700 (PDT) In-Reply-To: <526b5ef8$0$29972$c3e8da3$5496439d@news.astraweb.com> References: <18d18c8e-91f0-42d4-8515-a9f8d88301b1@googlegroups.com> <526b5ef8$0$29972$c3e8da3$5496439d@news.astraweb.com> Date: Sat, 26 Oct 2013 17:36:15 +1100 Subject: Re: Python was designed (was Re: Multi-threading in Python vs Java) From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382769378 news.xs4all.nl 15919 [2001:888:2000:d::a6]:36836 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57595 On Sat, Oct 26, 2013 at 5:19 PM, Steven D'Aprano wrote: > C does not natively provide garbage collection, or exceptions, or many > other features. But that doesn't make it *impossible* to use these > features in C, it just makes them *inconvenient and difficult*. To get > the advantage of such features, you have to build a framework that > provides them, then exclusively use the framework, while avoiding > dropping down into the underlying low-level C features that bypass the > framework. This is inconvenient, error-prone, inelegant, and requires > discipline, but it is *possible*. Provably possible, by the Sir Ruthven method[1]: libnih, as used by Upstart and other systems, is a garbage-collected (refcounted, I think) C memory allocation library. I believe I mentioned this earlier in one of these threads. > For anyone who has no idea what I'm talking about when I talk about > biscuit joiners: > > http://en.wikipedia.org/wiki/Biscuit_joiner As one of the "anyone", I thank you :) ChrisA [1] See Ruddigore, where Sir Ruthven claims to have forged his own will; his uncle claims it's not possible, which Sir R disproves by saying that he's already done so.