Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
Python Zone is brought to you in partnership with:

Chris is married to the love of his life, Danielle. He is a wrangler and writer of developer content for DZone, where he enjoys finding great Python and Windows Phone content. Chris once went a whole week without blinking. He used to be an adventurer like you, but then he took an arrow to the knee. Chris is a DZone employee and has posted 184 posts at DZone. You can read more from them at their website. View Full User Profile

PyPy 1.8 Improves Performance, Maintains Business As Usual

02.10.2012
Email
Views: 1948
  • submit to reddit
This content is part of the Python Zone, which is presented to you by DZone and New Relic. Visit the Python Zone for news, tips, and tutorials on the Python programming language.  New Relic provides the resources and best practices to help you monitor these applications.

PyPy 1.8 has arrived, and brings with it a number of bug fixes and performance and memory improvements over the previous release, including support for x86 machines running Linux 32/64 or Windows 32.  While Windows 64 is not currently supported, it is planned for a future release.

The main highlight of the release is the introduction of list strategies which makes homogenous lists more efficient both in terms of performance and memory…Now lists that contain only ints or only floats should be as efficient as storing them in a binary-packed array.

-- PyPy Status Blog


Other release highlights include:

  • Improved JIT Performance in List Strategies
  • Special Strategies for Unicode and Sting Lists
  • Faster Python Constructs
  • Improved CPython Compatibility
  • Ability to Hook Into the JIT Process from a Python Program
  • Upgraded Python Compatibility (from 2.7.1 to 2.7.2)


PyPy 1.8 also features significant progress in the Numpy effort:

  • multi dimensional arrays
  • various sizes of types
  • a lot of ufuncs
  • a lot of other minor changes

Right now the numpy module is available under both numpy and numpypy names. However, because it's incomplete, you have to import numpypy first before doing any imports from numpy.

-- PyPy Status Blog


There's also a list of ongoing work that's should be available in future releases:

  • Non-x86 backends for the JIT: ARMv7 (almost ready) and PPC64 (in progress)
  • Specialized type instances - allocate instances as efficient as C structs, including type specialization
  • More numpy work
  • Since the last release there was a significant breakthrough in PyPy's fundraising. We now have enough funds to work on first stages of numpypy and py3k. We would like to thank again to everyone who donated.

 

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Python is a fast, powerful, dynamic, and versatile programming language that is being used in a variety of application domains. It has flourished as a beginner-friendly language that is penetrating more and more industries. The Python Zone is a community that features a diverse collection of news, tutorials, advice, and opinions about Python and Django. The Python Zone is sponsored by New Relic, the all-in-one web application performance tool that lets you see performance from the end user experience, through servers, and down to the line of application code.