PyPy: optimized Python

pypy_compI’ve often been critical of Python for being the memory hog it is. As a substantial proof, refer to the programming language benchmarks. Python can make your system appear horribly slower even with the latest processors.

Thanks to PyPy, an initiative to optimize Python, we have a fast and compliant implementation of Python. Currently implemented versions are 2.7.8 and 3.2.5. The main features of PyPy are:

  • Speed: The main executable comes with a fast Just-In-Time compiler.
  • Memory usage: Optimized. Memory hungry Python programs may use less memory with PyPy.
  • Compatibility: Highly compatible with existing python code. It supports cffi and can run popular python libraries like twisted and django.
  • Sandboxing: An advanced sandboxing approach which replaces all calls to external libraries (C or platform) with a stub that communicates with an external process handling the policy. This is stronger than considering only certain language features as ‘unsafe’.
  • Stackless: PyPy comes by default with support for stackless mode, providing micro-threads for massive concurrency.
  • Platforms: runs on Intel x86 (IA-32) , x86_64 and ARM platforms. It implements Python-core fully, and passes the Python test suite.
  • Supports Linux, Windows and Mac.

Instructions to download different variants of PyPy for several platforms can be found here.

Webpage: PyPy

2 thoughts on “PyPy: optimized Python”

  1. —————————————–
    P/S: I know it’s not very OK to write something off this topic. But, I want to ask if you have an extra Mail.Ru 1TB to give away or exchange?

    1. Hey! I’m sorry but I have only two cloud accounts alive. I created a account for the post but then deleted it as usual. Hopefully someone will respond to your other comment in the post.
      Best of luck!


Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s