Release of PyPy 7.2, a Python implementation written in Python

Formed project release PyPy 7.2, within which an implementation of the Python language written in Python is developed (using a statically typed subset RPython, Restricted Python). The release is prepared simultaneously for the PyPy2.7 and PyPy3.6 branches, which provide support for the syntax of Python 2.7 and Python 3.6. The release is available for Linux (x86, x86_64, PPC64, s390x, Aarch64, ARMv6 or ARMv7 with VFPv3), macOS (x86_64), OpenBSD, FreeBSD, and Windows (x86).

A feature of PyPy is the use of a JIT compiler that translates some elements into machine code on the fly, which makes it possible to provide tall performance level - when performing some operations, PyPy is several times faster than the classic implementation of Python in C (CPython). The price of high performance and the use of JIT compilation is higher memory consumption - the total memory consumption in complex and long-running processes (for example, when PyPy is compiled by PyPy itself) exceeds the consumption of CPython by one and a half to two times.

The new release is notable for the stabilization of support for Python 3.6, which was previously in beta status, and the JIT implementation for the Aarch64 (ARM64) architecture. A new JSON decoder has also been added, which is significantly faster, uses less memory, and is optimized for JIT. The CFFI 1.13 (C Foreign Function Interface) module has been updated with the implementation of an interface for calling functions written in C and C ++. CFFI is recommended for interacting with C code, while cppyy is recommended for C++ code. The CFFI-based _ssl module has been backported to the PyPy2.7 branch. The _hashlib and _crypt modules have been switched to use CFFI.

Source: opennet.ru

Add a comment