5 ms·
numpy works on pypy these days. You have to install it via pip and it does not have wheels, so it takes a few minutes to install, otherwise works. The numpy-hea
by fijal 8y ago
numpy works on pypy these days. You have to install it via pip and it does not have wheels, so it takes a few minutes to install, otherwise works. The numpy-heavy workloads will not be sped up by pypy, but depending on what you are exactly doing your python program might be faster in other parts.
We are actively trying to secure funding and goals to make numpy fast, now that it works and we are working together with numpy community to make sure it stays working.
- psandersen 8y agoWill scikit learn and pandas work without issue as well? Keen to try PyPy once I can run a typical data science stack.
- sanxiyn 8y agoYes, both scikit-learn and pandas should work with PyPy.
- _verandaguy 8y agoThanks for all the work you guys are doing! PyPy has been a case study in learning about JITs and alternative Python implementations for me over the past few years.
- qeternity 8y agoIIRC, PyPy is actually slower on pure CFFI calls, so anything that is mostly Numpy/Pandas/Scikit will likely be slower in PyPy. At least this was the case when we were using PyPy 3.5. But often the rest of your code base will experience dramatic increases in performance, and the penalty on already fast CFFI calls was not significant overall (in our use case).
- fijal 8y agoI think you are confusing CFFI (which is massively faster under pypy) with CPython C API calls (which is both slower under pypy and ones used by numpy)
- sandGorgon 8y agoDo you have a donate link ? Would love to contribute. Usually your donate links are mentioned on your blogspot and more than one person has told me that they are not sure this blogspot is authentic. Do look into having a single static website with a blog - using something like Pelican (http://www.pelicanthemes.com http://www.pelicanthemes.com)
- llukas 8y agoClick donate here: http://pypy.org/ http://pypy.org/
- eesmith 8y agoWhy does it matter if this blogspot is authentic? The "Donation page" link is to http://pypy.org/py3donate.html http://pypy.org/py3donate.html which is hosted under pypy.org. The blog could be written by Trafalmadorian trolls, and it wouldn't matter - so long as you trusted that "pypy.org" was part of the PyPy project and that its connection to PayPal was valid. I don't think your last comment is relevant. What I think you are saying is that the blog should be hosted under pypy.org and not blogspot. It could be WordPress or any other system. It couldn't easily be Pelican because the blog supports comments, which means integrating with some other commenting system - plus authentication and spam detection. Why not get rid of the hassle of manually adding files and rebuilding the server and just use blogspot? Lastly, are you really saying that people aren't donating to PyPy because some supportive blog site somewhere else, run by who knows who, isn't hosted on pypy.org?
- sandGorgon 8y agoyeah - because people dont go to the homepage. what gets tweeted out is this blogspot page (including here on HN). So people check out the nice blog post and see a donate link on the left of https://morepypy.blogspot.com/ https://morepypy.blogspot.com/ and then go ...hmm, looks shady. Not many read the blog post, then go to Google, search for pypy and then click the link and then donate. Fundraising is not an easy process - there is an aspect of sales here. Blogspot may be easy.. but its not good branding. And that was my point - cos I want them to succeed.