首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
?
Learn Python the Hard Way
Python Sites
?
PyPI
- Python Package Index
?
http://diveintopython.org/toc/index.html
?
Pocoo
值得关注的项目
?
PyPy
?
Celery
?
Jinja2
?
Read the Docs
?
gevent
?
pyenv
?
virtualenv
?
Stackless Python
?
Beautiful Soup
?
结巴中文分词
?
Green Unicorn
?
Sentry
?
Shovel
?
Pyflakes
?
pytest
Python 编程
?
pep8 Checker
Styles
?
PEP 8
?
Google Python Style Guide
?
Code Style from The Hitchhiker's Guide
V2EX
?
Python
浅试了一下 Python 3.13 的 JIT,未来很美好
imes
·
29 天前
· 983 次点击
(
腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,
点击这里立即抢购:9i0i.cn/qcloud
,更有2860元代金券免费领取,付款直接抵现金用,
点击这里立即领取:9i0i.cn/qcloudquan
)
(福利推荐:
你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun
)
闲着没事,刚好 Python 3.13 的 alpha 版本出来了,浅试了一下万众期待的 JIT 功能。
代码基本不需要特意修改,直接可以 JIT 运行
原先是 Cpython 解释并执行;现在是 Cpython 翻译,CPU/OS 运行机器码
使用 LLVM 生态,Clang 进行编译,-o3 开大
未见明显性能提升(~20%,可能和 HotSpot/test case 没做完有关),毕竟刚引入,性能可以后续优化
话说,都用 LLVM+Clang 了,岂不是 Python4 可以一步到位(我在想桃子吃
1 条回复
?
2024-04-11 17:49:50 +08:00
1
mayli
29 天前
我觉得聊胜于无
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
3284 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 11:34
·
PVG 19:34
·
LAX 04:34
·
JFK 07:34
Developed with
CodeLauncher
? Do have faith in what you're doing.
http://www.vxiaotou.com