📜 ⬆️ ⬇️

Python will try to teach to fly

Everyone's favorite corporation Google decided to become even more loved by announcing the project " Unladen Swallow ", the purpose of which is to speed up the execution of Python scripts exactly five times.
To achieve this goal, developers want to change the blocking mechanism, recycle the garbage collector to work in non-blocking mode, improve the tools for creating multi-threaded programs, optimize work on multi-core CPUs by parallelizing the calculations and most importantly replace the standard Python virtual machine based on LLVM A JIT compiler that translates scripts into executable code on the fly.
The new interpreter is not a “bicycle”, and is based on the standard CPython 2.6.1 code, having full compatibility with it.
In the current slice, Unladen Swallow managed to achieve acceleration of work by 15-25%, only due to additional optimizations without replacing the virtual machine. The new virtual machine will be integrated in the second quarter of this year.
In addition, Google seeks to maximize the return of patches to the base Python interpreter, ultimately fully integrating all of their achievements into standard CPython and adapting the development for the Python 3 branch.
PS Especially this news should please the MIT (Massachusetts Institute of Technology), who decided to use Python instead of Scheme.

')

Source: https://habr.com/ru/post/55782/


All Articles