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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

PyPy v5.9 Released

180 点作者 mdf超过 7 年前

10 条评论

syllogism超过 7 年前
This is amazing -- we have a small mountain of Cython code, and almost everything is working out of the box!<p>Tests failing:<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;spaCy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;spaCy</a><p>Confirmed working:<p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;thinc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;thinc</a><p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;preshed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;preshed</a><p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;cymem" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;cymem</a><p>* <a href="https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;murmurhash" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;explosion&#x2F;murmurhash</a><p>I doubt spaCy will ever be faster on PyPy (the neural network library Thinc is currently 50% slower). It&#x27;d still be really great to get it running, so people who benefit from PyPy for other parts of their stack don&#x27;t have to manage two Python environments.
评论 #15413507 未加载
theli0nheart超过 7 年前
This is great. Can&#x27;t wait until Python 3.5 support is out of beta.<p>Just out of curiosity, I&#x27;d love to hear from others who&#x27;ve used PyPy for their web apps. Are there any issues to look out for? I remember that a few years ago, packages like psycopg2 were not compatible, which made the migration somewhat difficult. Would love to hear real-world experiences here.
评论 #15410049 未加载
评论 #15410549 未加载
评论 #15411753 未加载
评论 #15411093 未加载
评论 #15411109 未加载
mattip超过 7 年前
The original title emphasises that NumPy and Pandas now are functional on PyPy.<p>The PyPy JIT cannot look inside C code, and crossing the python-c interface is slow, but give it a chance and you may be pleasantly surprised how fast your pure python code can run.
评论 #15410458 未加载
SEJeff超过 7 年前
I wonder if this will run apistar: <a href="https:&#x2F;&#x2F;github.com&#x2F;encode&#x2F;apistar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;encode&#x2F;apistar</a> which is currently the fastest (python 3.6 generally) python web framework out there.
评论 #15410314 未加载
评论 #15411343 未加载
haikuginger超过 7 年前
As I do with every PyPy release, I would like to point out that the PyPy official benchmarks for comparison against CPython[0] continue to misleadingly compare their latest and greatest with CPython 2.7.2 (released in 2011), as opposed to the modern CPython 2.7.13 or 3.5.3 versions for which they target API compatibility.<p>[0]<a href="http:&#x2F;&#x2F;speed.pypy.org" rel="nofollow">http:&#x2F;&#x2F;speed.pypy.org</a>
评论 #15410524 未加载
评论 #15410927 未加载
babataiyoh超过 7 年前
Is there a list of well-known c-extensions for which PyPy is known to work or for which there are well-maintained cpyext ports ?<p>Update: found it at <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;pypy&#x2F;compatibility&#x2F;wiki&#x2F;Home" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;pypy&#x2F;compatibility&#x2F;wiki&#x2F;Home</a>
hyperbovine超过 7 年前
Was surprised to see Cython support on this list. Can somebody elaborate on the relationship between the two? I had always viewed them as alternatives.
评论 #15410951 未加载
评论 #15410203 未加载
评论 #15412020 未加载
评论 #15410388 未加载
gkya超过 7 年前
Is PyPy <i>ideally</i> plug&#x27;n&#x27;play, i.e. is it supposed to be able to seamlessly replace the CPython interpreter (<i>ideally</i> in that it may not factually be completely compatible, but is it aimed to be completely compatible)?
评论 #15412649 未加载
评论 #15411224 未加载
avyfain超过 7 年前
Thanks @fijal and team for all the effort! This is awesome.<p>The last update on the Pypy+Pandas wiki[0] is from this August, and it mentions that there are still 15 outstanding failing tests. Does this release mean that 5.9 is now at 100% parity? What does the same metric look like for Pypy+Numpy, and where can that one be tracked if not 100% yet?<p>I am looking forward to migrating some pipelines over to 5.9 soon.<p>[0] <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;pypy&#x2F;pypy&#x2F;wiki&#x2F;cpyext_2_-_cython_and_pandas" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;pypy&#x2F;pypy&#x2F;wiki&#x2F;cpyext_2_-_cython_and_p...</a>
评论 #15413692 未加载
howfun超过 7 年前
I am glad to hear it!