Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.04; 'typing': 0.05; 'distinction': 0.07; 'int,': 0.07; 'python': 0.07; 'am,': 0.14; 'wrote:': 0.14; 'code).': 0.16; 'double,': 0.16; 'invocations': 0.16; 'software"': 0.16; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'language': 0.20; '(which': 0.21; 'software.': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:addr:python- list': 0.22; 'values': 0.23; 'differ': 0.23; 'exist,': 0.23; 'java': 0.24; 'suspect': 0.25; 'message-id:@mail.gmail.com': 0.28; 'fri,': 0.29; 'technical': 0.29; 'stefan': 0.29; 'cc:addr:python.org': 0.31; 'confusion': 0.31; 'objects.': 0.31; 'etc)': 0.33; 'received:209.85.216.46': 0.35; 'received:mail- qw0-f46.google.com': 0.35; 'some': 0.37; 'addition,': 0.37; 'received:209.85': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'languages': 0.38; 'reasons': 0.38; 'used': 0.38; 'received:209': 0.39; 'header:Received:5': 0.40; 'simple': 0.60; '2011': 0.62; 'upon': 0.63; 'production': 0.65; 'here.': 0.68; '10:00': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=seE3rj9lhe9ZD2S2R/UK7ou2BT4AcWzF7tVbsBpkkRA=; b=gDn/C2yUeYUvGY8E4ZgE4gUG1z1rYB4lHGXczohWIBiTp3oUsCFirxhC/wFSRscu0K eaeBvsPrr8IKS/H1Km/qX8t/pgDh5MNcaTA+RSTnP2pla1q2SFM29WGz10rCsTABjy2I Lo2JHnCGaMMNXXgZ9aMoQs7dWeC/rGtpNQJSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=k251celK1z79jvR7nnm85KeEEbeIV7+h9gHMv/9JNSY2QkRk7sLoh0F6lCybSPJyLl jZDZBpPi5NJYTIu65/Y6R2XQxH2htezEXVTOV//YknAnjORABEXP/vtly26FFDQlqL6I 2A57lJACHdVY1be2jWfUwaJrzU5w42B4Gbn2c= MIME-Version: 1.0 In-Reply-To: References: <01bd055b-631d-45f0-90a7-229da4a9a362@t19g2000prd.googlegroups.com> Date: Fri, 1 Apr 2011 10:12:24 -0700 Subject: Re: Python CPU From: geremy condra To: Stefan Behnel Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 20 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1301677947 news.xs4all.nl 81474 [::ffff:82.94.164.166]:59853 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:2376 On Fri, Apr 1, 2011 at 10:00 AM, Stefan Behnel wrote: > Nobody, 01.04.2011 18:52: >> >> Java is a statically-typed language which makes a distinction between >> primitive types (bool, int, double, etc) and objects. Python is a >> dynamically-typed language which makes no such distinction. Even something >> as simple as "a + b" can be a primitive addition, a bigint addition, a >> call to a.__add__(b) or a call to b.__radd__(a), depending upon the values >> of a and b (which can differ for different invocations of the same code). >> >> This is one of the main reasons that statically-typed languages exist, and >> are used for most production software. > > I doubt that the reason they are "used for most production software" is a > technical one. I also suspect that there's some confusion between duck typing and typelessness going on here. Geremy Condra