A new interpreter in Python 3.14 offers a free speed impulse

Python 3.14, which will be released at the end of this year, will receive a new type of interpreter that can increase the yield of up to 30% without changes in the existing code.

CPYTHON 3.14 CHANGE REGISTRATION Describe the characteristic as “a new type of interpreter based on tail calls.” This description can be a bit misleading for those who do not closely follow Python’s internal work. “Cola calls” does not mean that CPython, or Python’s language, now supports Tail call optimization. It refers to an optimization that a compiler C performs in the CPYTHON code, which accelerates the way in which the interpreter sends his bytecode code instructions.

No changes in the existing Python code are required, and the CPYTHON extension modules do not need to be recompiled, since there are no changes in the API or ABI of CPython. The new interpreter also does not add significant maintenance overload to CPYTHON, since it has been mainly implemented when reusing the existing code.

#interpreter #Python #offers #free #speed #impulse

Leave a Reply

Your email address will not be published. Required fields are marked *