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


Groups > comp.lang.python > #39948

RE: Nuitka now supports Python 3.2

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <andriy.kornatskyy@live.com>
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; 'syntax': 0.03; 'subject:Python': 0.05; 'cpython': 0.05; 'python': 0.09; 'compiler.': 0.09; 'optimizing': 0.09; 'static': 0.13; '"from': 0.16; 'c++.': 0.16; 'compiler,': 0.16; 'suite.': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; 'passes': 0.17; 'feb': 0.19; '+0000': 0.20; 'to:name:python- list@python.org': 0.20; 'written': 0.20; 'skip:- 40': 0.21; 'import': 0.21; 'thanks.': 0.21; '3.2': 0.22; 'claimed': 0.22; 'runs': 0.22; 'to:2**1': 0.23; 'machine': 0.24; 'header:In-Reply- To:1': 0.25; 'c++': 0.27; 'python2.7': 0.29; 'steven': 0.29; 'types.': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'unlike': 0.30; 'code': 0.31; 'url:python': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'from:addr:live.com': 0.33; 'to:addr:python- list': 0.33; 'faster': 0.35; 'subject:': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'test': 0.36; 'skip:p 20': 0.36; 'plans': 0.37; 'moment': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'supports': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'email name:python-list': 0.62; 'times': 0.63; 'below.': 0.68; 'subject:now': 0.69; 'analysis': 0.70; '2013': 0.84; 'compiles': 0.84; 'url:posts': 0.84; 'charset:windows-1251': 0.97
X-EIP [zXHTCQ01wEAuc3jsq4GGSlnuEkHDuVzV]
X-Originating-Email [andriy.kornatskyy@live.com]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To <steve+comp.lang.python@pearwood.info>, "python-list@python.org" <python-list@python.org>
Subject RE: Nuitka now supports Python 3.2
Date Tue, 26 Feb 2013 16:49:39 +0300
Importance Normal
In-Reply-To <512ca830$0$30001$c3e8da3$5496439d@news.astraweb.com>
References <512ca830$0$30001$c3e8da3$5496439d@news.astraweb.com>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 26 Feb 2013 13:49:39.0847 (UTC) FILETIME=[1F67D970:01CE1428]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
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.2543.1361886648.2939.python-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361886648 news.xs4all.nl 6871 [2001:888:2000:d::a6]:40988
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39948

Show key headers only | View raw


Steven,

Just in case... pypy1.9 runs this test 22x faster than cpython2.7, see below.

python2.7 -c "from test import pystone;[pystone.main() for i in range(10)]"
Pystone(1.1) time for 50000 passes = 0.62
This machine benchmarks at 80645.2 pystones/second
...
Pystone(1.1) time for 50000 passes = 0.53
This machine benchmarks at 94339.6 pystones/second


pypy-1.9/bin/pypy -c "from test import pystone;[pystone.main() for i in range(10)]"

Pystone(1.1) time for 50000 passes = 0.116008
This machine benchmarks at 431005 pystones/second
...
Pystone(1.1) time for 50000 passes = 0.024002
This machine benchmarks at 2.08316e+06 pystones/second

Thanks.

Andriy Kornatskyy


----------------------------------------
> From: steve+comp.lang.python@pearwood.info
> Subject: Nuitka now supports Python 3.2
> Date: Tue, 26 Feb 2013 12:18:56 +0000
> To: python-list@python.org
>
> Nuitka now supports Python 3.2 syntax and compiles the full CPython 3.2
> test suite.
>
> http://nuitka.net/posts/nuitka-release-040.html
>
>
> What is Nuitka?
>
> Nuitka is an implementation of Python written in C++. At the moment it is
> claimed to be about 2.5 times as fast as CPython running the pystone
> benchmark. Future plans including using type inference and whole program
> analysis to optimize Python code using C++ native types.
>
> Unlike PyPy, which is a JIT compiler, Nuitka is intended as a static
> optimizing compiler.
>
>
> --
> Steven
> --
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Nuitka now supports Python 3.2 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-26 12:18 +0000
  RE: Nuitka now supports Python 3.2 Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2013-02-26 16:49 +0300
  Re: Nuitka now supports Python 3.2 jmfauth <wxjmfauth@gmail.com> - 2013-02-27 00:21 -0800
    Re: Nuitka now supports Python 3.2 jmfauth <wxjmfauth@gmail.com> - 2013-02-27 00:44 -0800
    Re: Nuitka now supports Python 3.2 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-27 09:53 +0000
  Re: Nuitka now supports Python 3.2 Michael Torrie <torriem@gmail.com> - 2013-02-27 10:43 -0700
  Re: Nuitka now supports Python 3.2 Stefan Behnel <stefan_ml@behnel.de> - 2013-02-28 08:07 +0100
    Re: Nuitka now supports Python 3.2 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-28 13:23 +0000
      Re: Nuitka now supports Python 3.2 Stefan Behnel <stefan_ml@behnel.de> - 2013-02-28 20:03 +0100

csiph-web