Earlier quoted context omitted.
Do you mean the people who haven't upgraded from Python 2.7 to Python 3?
The people who haven't upgraded to Python 3 in their projects are probably mostly people with dependencies on py2.7 libraries. Happened to me in my last project. I started using pypy until some bug in pypy prevented me from using an important package. Switched to python 3 until some other dependency wasn't available. So it's a pity, but i was more or less forced to use py2.7 (without putting major effort into 3rd par…
PyPy 2.0 Released
71–77 of 77 posts
Re: PyPy 2.0 Released
#72Earlier quoted context omitted.
I've had exactly the same problem. I have had tree-manipluation AI problems which run for > 30 minutes (seems like an ideal thing for pypy, before I rewrite them in C++). pypy is almost always slower, and never more than about 15% faster, whereas a simple line-by-line C++ rewrite can be 20x faster.
Python is a vast language. It's very hard to know upfront what sort of patterns people use - if you don't talk to us, don't post stuff on the bug tracker, don't do anything - it's your own fault. PyPy is known to speed up real world code to various degrees - sometimes 10x sometimes not at all, but it all really depends. We would be happy to help you with your problem, but if the only thing you do is to complain on ha…
That doesn't change how the PyPy project tends to represent itself, which almost always comes across as something like "6x speedup for everything (excluding JIT warmup)". If you want everyone to adopt PyPy instead of CPython then it is part of your job to find the cases where PyPy is not actually faster rather than saying it is the user's fault. And it is not your job to select only benchmarks which tell the story you want.
If the difference between interpreters is nuanced then that nuance should be expressed so that people can make intelligent decisions rather than dismissing one or another interpreter as "slow".
Re: PyPy 2.0 Released
#73Earlier quoted context omitted.
The people who haven't upgraded to Python 3 in their projects are probably mostly people with dependencies on py2.7 libraries. Happened to me in my last project. I started using pypy until some bug in pypy prevented me from using an important package. Switched to python 3 until some other dependency wasn't available. So it's a pity, but i was more or less forced to use py2.7 (without putting major effort into 3rd par…
And you did put at least the same amount of effort as to write this comment to report the bug to pypy devs and/or library devs right?
Re: PyPy 2.0 Released
#74Congratulations! Looking forward to the day PyPy becomes the reference implementation.
God yes. I wish the CPython people would just capitulate and throw themselves behind it.
Re: PyPy 2.0 Released
#75Earlier quoted context omitted.
Python is a vast language. It's very hard to know upfront what sort of patterns people use - if you don't talk to us, don't post stuff on the bug tracker, don't do anything - it's your own fault. PyPy is known to speed up real world code to various degrees - sometimes 10x sometimes not at all, but it all really depends. We would be happy to help you with your problem, but if the only thing you do is to complain on ha…
I am sympathetic because PyPy is very good and is improving fast. but... That doesn't change how the PyPy project tends to represent itself, which almost always comes across as something like "6x speedup for everything (excluding JIT warmup)". If you want everyone to adopt PyPy instead of CPython then it is part of your job to find the cases where PyPy is not actually faster rather than saying it is the user's fault.…
Re: PyPy 2.0 Released
#76Earlier quoted context omitted.
And you did put at least the same amount of effort as to write this comment to report the bug to pypy devs and/or library devs right?
How often do people do that for CPython?
Re: PyPy 2.0 Released
#77Earlier quoted context omitted.
\v is your friend. http://vimdoc.sourceforge.net/htmldoc/pattern.html#/magic
I sort of prefer \V, but same difference I dunno, I haven't used it in the past, because... 1) "It is recommended to always keep the 'magic' option at the default setting, which is 'magic'. This avoids portability problems." 2) Nor do I want to type two extra characters in every damn regex! So, it only occurs to me right now, the right thing to do for me is this: the first instant I'm confused about whether \( means…