News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by dijit on Wednesday January 04, 2017 @12:46PM (#13320352)
cpython is the reference implementation, so it makes sense that it's;

A) Not well optimised.

B) Touting features before the spec/standard.

EDIT: people really dislike that I said this, and I'm having trouble finding my original citation- it was on one of the many python books I own. Most likely "Learn Python The Hard Way" but I'll dig out the exact chapter where they compare pypy to cpython and mention that because cpython is the reference implementation it values code clarity over performance optimisation.

Re:Grumpy: Go running Python by paulsmith on Wednesday January 04, 2017 @12:54PM (#13320428)
Who says CPython is not well-optimized?

CPython is 25 years old -- people have been making it faster for a long time. Python 3.6, the latest release, has many performance improvements, cf. http://www.infoworld.com/article/3120952/application-develop...

Re:Grumpy: Go running Python by trotterdylan on Wednesday January 04, 2017 @01:18PM (#13320650)
Interestingly, achieving performance parity with CPython is one of the biggest challenges of this project. There are certain things CPython does very fast like allocating and freeing many small objects.
Re:Grumpy: Go running Python by webmaven on Friday January 06, 2017 @10:39AM (#13337079)
So, Grumpy currently isn't faster than CPython?
Re:Grumpy: Go running Python by lima on Wednesday January 04, 2017 @03:18PM (#13321689)
Notably, some of the 3.6 performance improvements were merged in from PyPy :-)
Re:Grumpy: Go running Python by the_duke on Wednesday January 04, 2017 @12:53PM (#13320414)
It makes sense that the official, primary and by far most popular implementation of one of the most used languages in existance is not well optimized?

(edit: I'm just being polemic about your statement here. CPython is reasonably optimized within the constraints it currently has).

Re:Grumpy: Go running Python by nodja on Wednesday January 04, 2017 @01:46PM (#13320929)
It only makes sense because it's python. A language where style is part of the syntax, and readability is one of the things that many libraries focus on , the so called being "pythonic".

It makes sense that the reference implementation mirrors the same patterns than the language itself.

Re:Grumpy: Go running Python by the_duke on Wednesday January 04, 2017 @01:48PM (#13320956)
Someone else already posted this link: https://www.youtube.com/watch?v=qCGofLIzX6g&list=PLRdS-n5seL...

It explains why CPython can't improve on many things.

Re:Grumpy: Go running Python by ericfrederich on Wednesday January 04, 2017 @01:27PM (#13320740)
Please watch that first video, it's a good one. It explains how CPython essentially _is_ the spec because its internals leak into the spec when they have no business being there.
Re:Grumpy: Go running Python by dom0 on Wednesday January 04, 2017 @01:42PM (#13320893)
Pretty much the same is true about most other languages that have a single main implementation. This is even true, to some degree, for Java, which had competing implementations relatively early on.
Re:Grumpy: Go running Python by viraptor on Wednesday January 04, 2017 @04:53PM (#13322414)
At some point it leaked pretty hard as well. The package scope was an unspecced implementation behaviour that became a standard later. (If I recall the story correctly)