r/Python • • May 27 '14

Python 3 is fine | Sealed Abstract

http://sealedabstract.com/rants/python-3-is-fine/
234 Upvotes

96 comments sorted by

View all comments

Show parent comments

0

u/[deleted] May 28 '14

Yeah, but compare that strategy with PyPy and Python3.

1

u/[deleted] May 28 '14

What python3 strategy? python3 is just as slow as python2. And pypy is a very nice idea, but it also requires porting and rewriting every library that's written in c and also has that annoyin GIL... Don't get me wrong, I really like python, just not for technical computing.

-1

u/[deleted] May 28 '14 edited May 28 '14

Man you hates that GIL.

Anyway, my point was that Julia is being pragmatic and realises if they will convert python people they should have an interop story so codebases and be converted piecewise. PyPy basically says "C is lame, we will be faster, who uses numpy anyway" which is, lets say, a bold claim. Python3 patronizes us solid Py2 uses and made backwards incompatible changes such that you had to switch your stack over more or less at once.

I am a big fan of incremental optimization, incremental porting, and incremental interop.

Now, I really like python and use it for technical computing excessively. It is fast enough because the developer time I save building the entire stack I can, after profiling obviously, use to optimize (using any one of the many python strategies available) only the hot parts of the code. With all my remaining spare time I can bitch on reddit about how Python is slow.

1

u/rguillebert PyPy / NumPyPy May 28 '14

PyPy basically says "C is lame, we will be faster, who uses numpy anyway" which is, lets say, a bold claim.

That's not true, PyPy is just incompatible/slow with the C extension API, if the C API was more implementation independent, PyPy would be fine with it.