TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python 3.14 Getting New Interpreter

66 pointsby alexfromapex3 months ago

5 comments

haberman3 months ago
I blogged about this: <a href="https:&#x2F;&#x2F;blog.reverberate.org&#x2F;2025&#x2F;02&#x2F;10&#x2F;tail-call-updates.html" rel="nofollow">https:&#x2F;&#x2F;blog.reverberate.org&#x2F;2025&#x2F;02&#x2F;10&#x2F;tail-call-updates.ht...</a><p>It uses a technique I published several years ago for writing fast interpreters with tail calls: <a href="https:&#x2F;&#x2F;blog.reverberate.org&#x2F;2021&#x2F;04&#x2F;21&#x2F;musttail-efficient-interpreters.html" rel="nofollow">https:&#x2F;&#x2F;blog.reverberate.org&#x2F;2021&#x2F;04&#x2F;21&#x2F;musttail-efficient-i...</a><p>There is also this tweet from the author: <a href="https:&#x2F;&#x2F;x.com&#x2F;kenjin4096&#x2F;status&#x2F;1887935698906529903" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;kenjin4096&#x2F;status&#x2F;1887935698906529903</a>
评论 #43024356 未加载
评论 #43024619 未加载
评论 #43024729 未加载
madspindel3 months ago
&gt; Preliminary numbers on our machines suggest anywhere from -3% to 30% faster Python code, and a geometric mean of 9-15% faster on pyperformance depending on platform and architecture.<p>Nice!
评论 #43003206 未加载
codr73 months ago
I get the feeling that Python is finally reaching the critical mass needed to significantly improve performance, good times.
评论 #43024325 未加载
评论 #43001152 未加载
ninetyninenine3 months ago
They didn’t add tail calls for the longest time because it blows the stack and makes it harder to debug when stepping through code. Maybe they should make a keyword in Python to explicitly enable tail call recursion when it’s needed.
评论 #43024556 未加载
theandrewbailey3 months ago
Pi-thon.
评论 #43025587 未加载
评论 #43000097 未加载