MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
performance
Search

[$] Python, tail calls, and performance

Wednesday August 20, 2025. 04:45 PM , from LWN.net
Ken Jin welcomed EuroPython 2025 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.
https://lwn.net/Articles/1033373/

Related News

News copyright owned by their original publishers | Copyright © 2004 - 2025 Zicos / 440Network
Current Date
Aug, Thu 21 - 10:30 CEST