My experience with PyPy was that it was faster for mapreduce jobs without JSON parsing and slower for JSON-heavy jobs. Because, I assume, CPython benefits from a C implementation of simplejson and PyPy doesn't. Does anyone know if this has changed? (I'll probably install 4.0 and see for myself, but curious if anyone knows what I should expect.)
PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
21–30 of 150 posts
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#22python 3.4 please ;_;
The value of PyPy is that it is a thing you can just drop in to make your code faster. If PyPy wants to gain any traction they pretty much have to concentrate on the version with the most existing code.
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#23I wish it had faster startup time, which really matters for Mercurial.
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#24> We would also like to thank our contributors (7 new ones since PyPy 2.6.0) and encourage new people to join the project. PyPy has many layers and we need help with all of them This doesn't match my experience of the PyPy project. I found a tiny bug in the stdlib matching against CPython, went into IRC to ask a question about test running to be sure I got it right and was quickly engaged in conversation about why I…
Is this a complaint or a compliment to the developers?
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#25Earlier quoted context omitted.
Is this a complaint or a compliment to the developers?
He didn't want to report a bug, he wanted to contribute to the project. I can think of a few reasons why. They lost a new potential committer by "being pragmatic" about it, but ignoring inter-personal relationships, like so often.
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#26My experience with PyPy was that it was faster for mapreduce jobs without JSON parsing and slower for JSON-heavy jobs. Because, I assume, CPython benefits from a C implementation of simplejson and PyPy doesn't. Does anyone know if this has changed? (I'll probably install 4.0 and see for myself, but curious if anyone knows what I should expect.)
We did put some effort into making built-in json faster. If you're using an optimized version like uJson, it'll be faster under cpython so far, but it all depends whether there is more processing or more parsing involved. We're happy to help you with benchmarks though
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#27Earlier quoted context omitted.
We did put some effort into making built-in json faster. If you're using an optimized version like uJson, it'll be faster under cpython so far, but it all depends whether there is more processing or more parsing involved. We're happy to help you with benchmarks though
I've only used simplejson. A mapreduce job could be reading billions of lines and possibly doing very simple logic on each line, so the parsing/encoding is a big percentage of the processing, sometimes nearly all of it. I'll try 4.0 and see how it does now.
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#28Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#29Earlier quoted context omitted.
> But bottom line, tons of python code out there needs more performance and has no dependency on numpy or any C extensions. What they need is nice JIT engines like PyPy and not to switch languages. If no one invested in improving implementations for modern languages and switched to something lower level all the time, we would still be using Fortran for business applications.
I think you guys are saying the same thing. Ie, because they don't need to switch languages, and PyPy is a JIT engine for Python, these tons of Python code would benefit from if the devs were aware of PyPy .
Re: PyPy 4.0.0 Released – A Jit with SIMD Vectorization and More
#30Kudos to the pypy team! I suspect pypy would benefit from some kind of marketing campaign. It rarely lets me down and yet lots of python devs don't know about it. The most popular package(s) that don't work with it have been numpy, scipy, etc. When I first encountered pypy, there was a numpypy and I wouldn't be surprised if that's different now. But bottom line, tons of python code out there needs more performance an…
we're trying to address both numpy and C extensions, stay tuned ;-)