TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python 3.14 Getting New Interpreter

66 点作者 alexfromapex3 个月前

5 条评论

haberman3 个月前
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 个月前
&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 个月前
I get the feeling that Python is finally reaching the critical mass needed to significantly improve performance, good times.
评论 #43024325 未加载
评论 #43001152 未加载
ninetyninenine3 个月前
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 个月前
Pi-thon.
评论 #43025587 未加载
评论 #43000097 未加载