Release of Nuitka 0.6.17, a compiler for the Python language

A release of the Nuitka 0.6.17 project is available, developing a compiler for translating Python scripts into a C++ representation, which can then be compiled into an executable file using libpython for maximum compatibility with CPython (using native CPython tools for manipulating objects). Provided full compatibility with current releases of Python 2.6, 2.7, 3.3 - 3.9. Compared to CPython, compiled scripts show a 335% performance improvement in pystone tests. The project code is distributed under the Apache license.

The new version adds experimental support for optimization based on code profiling results (PGO - Profile-guided optimization), which allows taking into account features determined during program execution. The optimization currently only applies to code compiled with GCC. Plugins now have the ability to request resources at compile time (pkg_resources.require). The capabilities of the anti-bloat plugin have been significantly expanded, which can now be used to reduce the number of packages when using the numpy, scipy, skimage, pywt and matplotlib libraries, including by excluding unnecessary functions and substituting the necessary function code at the parsing stage. Optimized code related to multithreading, class creation, attribute checking, and method calling. Operations with bytes, str and list types have been accelerated.

Source: opennet.ru

Add a comment