198 points · by rlamy · 7y ago · 77 comments
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.
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).
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)
Congratulations PyPy team for the great release!
I use pypy3 pretty heavily in some personal projects, and the install process has always been extremely annoying. This is great!
------
I wish they'd set up a CI-build PPA (or any install process that's not just "wget binary").
I actually looked at setting up my own ppa at one point, but it's apparently involved enough that I didn't have time.
I don't know that they have the will to bug-for-bug reproduce CPython but the C API emulation layer added within the last few years probably means that it will be really high fidelity.
shrug, use python 3.x and don't sweat the fact that some folks are still stuck on 2.x. You certainly can't stop someone from offering support for 2.x -- the language is well defined and the reference implementation is open source. Anyone out there could put up a "Python 2.x Support: Cheap!" sign and be in business.
https://blog.pyston.org/2017/01/31/pyston-0-6-1-released-and...
https://opensource.googleblog.com/2017/01/grumpy-go-running-...
At work we had this internal service that did search entirety in memory, using sorted lists. When it was initially written, years ago, that was deemed "good enough".
By the time I joined the company a little over a year ago, search requests were sometimes exceeding 2 minutes, and would be killed due to HTTP timeout (somehow users were OK with search taking a long time, they were just annoyed that now sometimes it didn't work at all). While I was working to rewrite the whole thing to push data to ES and do everything from there, the old system needed to keep running.
So I moved it over to PyPy. I did need to swap blist(C extension) for sortedcontainers (pure python), but that was a minimal change. Search got about 30% faster, enough to keep chugging along while the rewrite happened.
As a side note, for some reason, it's terrible for pytest — your tests will take literally 100x as long. If you trust PyPy's compatibility, I'd recommend running your tests with CPython even if you run PyPy in production.
Actually since CPython 3.6 (or maybe it's 3.5?) the same is true in CPython too, though I'd personally still advocate specifying OrderedDict if you particularly require that property anyway.
Not sure about PySide2..
Therefore until and unless PyPy has usable Qt bindings (e.g. PySide or PyQt), then unfortunately I need to stick with CPython :/
Here is the only PyPy related issue I found for PySide2: https://bugreports.qt.io/browse/PYSIDE-535
PyQt doesn't have a bug tracker ¯\_(ツ)_/¯