Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.05; 'compiler': 0.05; 'cpython': 0.05; 'used.': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'runtime': 0.09; 'aug': 0.13; 'static': 0.13; 'sat,': 0.15; 'message-id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.17; 'stefan': 0.17; 'widely': 0.17; 'code,': 0.18; 'subject:skip:i 10': 0.22; 'example': 0.23; 'allows': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'language.': 0.27; 'topic': 0.27; 'question': 0.27; 'header:X -Complaints-To:1': 0.28; "d'aprano": 0.29; 'steven': 0.29; 'manual': 0.29; "i'm": 0.29; 'code': 0.31; 'from:addr:yahoo.co.uk': 0.32; '+0200,': 0.33; 'doubt': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'agree': 0.34; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; 'uses': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'performance': 0.39; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'easy': 0.60; 'different': 0.63; 'therefore': 0.65; 'compiles': 0.84; 'x):': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: On-topic: alternate Python implementations Date: Sat, 04 Aug 2012 11:05:24 +0100 References: <501cbdf8$0$29978$c3e8da3$5496439d@news.astraweb.com> <501cd421$0$29978$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-188-136.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <501cd421$0$29978$c3e8da3$5496439d@news.astraweb.com> X-Antivirus: avast! (VPS 120804-0, 04/08/2012), Outbound message X-Antivirus-Status: Clean 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1344074653 news.xs4all.nl 6959 [2001:888:2000:d::a6]:36066 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26479 On 04/08/2012 08:49, Steven D'Aprano wrote: > On Sat, 04 Aug 2012 08:40:16 +0200, Stefan Behnel wrote: > >> And not to forget Cython, which is the only static Python compiler that >> is widely used. Compiles and optimises Python to C code that uses the >> CPython runtime and allows for easy manual optimisations to get C-like >> performance out of it. >> >> http://cython.org/ > > Cython is great, but I question that it is a *Python* implementation. > That's not a criticism of Cython, but it is different from Python. Take > this example code from the tutorial: > > from libc.math cimport sin > > cdef double f(double x): > return sin(x*x) > > If that's Python code, then I'm Ethel the Aardvark. > > Cython is very Python-like, but there is no doubt in my mind that it is a > superset of Python and therefore a different language. > > I agree so it's off topic and can't be discussed here. Isn't that right, Stefan? -- Cheers. Mark Lawrence.