I'm pretty sure they'd have announced it if Python 3 ever got faster than Python 2. But this is not mentioned in the 3.1, 3.2, or 3.3 notes on performance:
http://docs.python.org/dev/whatsnew/3.1.html#optimizations
http://docs.python.org/dev/whatsnew/3.2.html#optimizations
http://docs.python.org/dev/whatsnew/3.3.html#optimizations
> see the mathThat one is easy. The Python 3 conversion is a serious project for core devs at Django and Numpy. Check out their mailing lists about what this takes/took.
http://blog.jarrodmillman.com/2009/01/when-will-numpy-and-sc...
While the above procedure of using the 2to3 tool works
relatively for pure Python code, there is no automatic
conversion tool for extension code. NumPy is mostly
written in C and makes extensive use of the Python C-API.
So converting NumPy will require much more than running
the 2to3 tool.
https://docs.djangoproject.com/en/dev/faq/install/#can-i-use... ... it will be a while before most Python software catches
up and is able to run on Python 3.0. For larger Python-
based software like Django, the transition is expected to
take at least a year or two (since it involves dropping
support for older Python releases and so must be done
gradually).
A "year or two" of the core Django team's time is easily several million bucks. Multiply by the Python codebases of every company on this list [1], and everyone on github, and every egg out there, and we are talking billions for the conversion.According to this blog post, 3.2 performance now exceeds 2.6 and 2.7, using the same pystone benchmark that the 3.0 release notes refer to:
http://www.levigross.com/post/2340736877/pystone-benchmark-o...
Looks like we need another benchmark. Does anyone have the Python 2 code from the Shootout? It seems to have been removed so that you can no longer compare Python 3 to Python 2 directly.
http://shootout.alioth.debian.org/u64q/benchmark.php?test=al...
I am positive that Python 3 could be a lot faster than Python 2. If people are interested in what's possible, they should follow the corresponding mailing list (python-dev).
Ahhhahaha, ahhhahahahahahahahahaha! Good lord I wish this was true!
Jacob, there look like about 20 or more programmers on that page. At even $100k per programmer, isn't that about $2.4 million? And isn't the number much more than that given that you are among the most skilled engineers?
* "Even 100k" implies that you think a six figure salary is reasonable for programmers. This is true in some rarefied echo chambers likethe Bay Area where programmer salaries are overinflated, but it's far from a universal The majority of our committers don't live near San Francisco. Actually, I think most live outside the US these days. I don't believe the median salary of a Django committers is 100k -- though for my fellow committers' sake I hope I'm wrong :)
* I only wish "being a core Django committer" was some magic "Get a Great Job Paying Six Figures Card". No good hiring manager assumes that "has a Django commit bit" translates to "among the most skilled engineers"; I only wish I could pull down "much more than" 100k based solely on my Django status. It's certainly a good time to be a Django dev, but while being contributor might help you get your foot in the door, it won't land you a salary increase over your peers.
* None of us get paid to work on Django anywhere close to full time. We get paid to do other things; we're lucky if we get a few hours a week to hack on Django as a side project. This again shows that our value in the salary marketplace isn't linked to our willingness to volunteer time to Django.
* Finally, this whole silly exercise assumes it would take "a year or two" of ALL of our time to get Django onto Python 3. That's laughable: it's mostly done already with perhaps a couple of man-months of activity. There's nowhere near 20 programmer-years worth of work; suggesting such is simply insane. Toss me that 100k you're bandying about so easily and I'll have it done by May :)
Considering merge with trunk will probably be done shortly after 1.4 I don't think he'll be getting his money's worth ;)
Do these documents really need to come out and spell it out for you? If you were to read what the document is telling you, you could probably figure it out.
> That one is easy.
Your original comment was about the print statement changes costing so much time and money, but now they are about the entirety of Django and NumPy. Yeah, it certainly costs money for a big project like Django to port (and people have completed it in their free-time), but print function/statement changes are trivial and do not cost on the order of billions of dollars.
The thread is about 3.3, so you link to a 3.0.1 release note? That is three years old.
> literally billions of dollars will be wasted changing every single print keyword statement to a print function
I'd love to see the math on this, especially because I did it in a matter of minutes across all of my code.