Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Serhiy Storchaka Newsgroups: comp.lang.python Subject: Re: Pyhon 2.x or 3.x, which is faster? Date: Tue, 8 Mar 2016 15:05:37 +0200 Lines: 16 Message-ID: References: <87d1r6iltx.fsf@elektro.pacujo.net> <56de2c36$0$1607$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de KLBqD4x2Evp2PxiN5teTWABRfU95VTXurahfH9bFg/ew== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'cpython': 0.05; 'jpg': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:which': 0.09; 'python': 0.10; 'python.': 0.11; 'files.': 0.13; 'chris,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'uses,': 0.16; 'wrote:': 0.16; 'looked': 0.16; 'comparing': 0.18; 'not,': 0.22; 'sprint': 0.22; 'code,': 0.23; "haven't": 0.24; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'point.': 0.27; 'comparison': 0.29; 'code': 0.30; 'programmers': 0.30; 'language.': 0.32; 'run': 0.33; "d'aprano": 0.33; "he's": 0.33; 'steven': 0.33; 'level': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'received:org': 0.37; 'to:addr:python.org': 0.40; 'charset:windows-1252': 0.62; 'production': 0.67; 'quality': 0.72; '"best': 0.84; 'done:': 0.84; 'idiomatic': 0.84 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: 193.202.118.160 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <56de2c36$0$1607$c3e8da3$5496439d@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104333 On 08.03.16 03:34, Steven D'Aprano wrote: > Chris, I think that's exactly what BartC has done: he has a program that he > actually uses, one which processes JPG files. It's written in pure Python, > so he's not comparing the quality of C libraries, he's comparing Python > versus Python. > > I haven't looked at his code, so I don't know if its a fair comparison of > Python versus Bart's Private Language. But that's not the point. Idiomatic > Python or not, "best practice" production level code or not, it is a fair > comparison of Python 2 versus Python 3, or CPython versus PyPy, because > it's the same Python code being run each time. Comparing the quality of programmers by the time for which they ran a sprint is not fair.