[$] Python, tail calls, and performance
Date:
Wed, 20 Aug 2025 14:45:14 +0000
Description:
Ken Jin welcomed EuroPython2025 attendees to
his talk entitled "Building a new tail-calling interpreter for Python", but noted that the title really should be: "Measuring the performance of
compilers and interpreters is really hard". Jin's efforts to switch the CPython interpreter to use tail calls ,
which can be optimized as regular jumps,
initially seemed to produce an almost miraculous performance improvement.
As his modified title suggests, the actual improvement
was rather smaller ; there is still some performance improvement and
there are other benefits from the change.
======================================================================
Link to news story:
https://lwn.net/Articles/1033373/
--- Mystic BBS v1.12 A49 (Linux/64)
* Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100)