News for hackers. Stuff that matters.
Re:Why Python Is Slow: Looking Under the Hood (2014) by chrisseaton on Thursday July 07, 2016 @04:07PM (#12051789)
No, I don't know of anything in Python that could not be made as efficient as Javascript, using techniques that we already know about (and given the time and money that you've already acknowledged are also barriers).

I'm not considering Python's C extensions there. I don't know if you'd consider that part of the 'language' or 'ecosystem'. Pyston is trying to make Python fast, including the C extensions, which is not as easy.

Re:Why Python Is Slow: Looking Under the Hood (2014) by the_mitsuhiko on Thursday July 07, 2016 @04:15PM (#12051819)
JavaScript has fewer problematic features than Python which makes it possible to write efficient implementations. Also it has a standard which Python does not.
Re:Why Python Is Slow: Looking Under the Hood (2014) by fovc on Thursday July 07, 2016 @07:07PM (#12052672)
What are the problematic features in Python that are not in JS? I'm not as familiar with JS
Re:Why Python Is Slow: Looking Under the Hood (2014) by chrisseaton on Thursday July 07, 2016 @04:59PM (#12052037)
The question was about whether it is technically possible to create a Python as fast as JavaScript, ignoring the money needed.

So the number of features doesn't matter, only whether or not they are all possible to implement efficiently, and the lack of a standard doesn't matter, as with infinite money you could test comprehensively.

Re:Why Python Is Slow: Looking Under the Hood (2014) by jstimpfle on Thursday July 07, 2016 @07:28PM (#12052743)
No need to disqualify the answer. The point of my question was of course to learn about aspects of Javascript-the-language that make it intrinsically easier to build a fast implementation for than building one for python.

If there are just more difficult-to-implement features that is interesting as well (although it would be nice to know which ones).

Re:Why Python Is Slow: Looking Under the Hood (2014) by optimuspaul on Thursday July 07, 2016 @04:57PM (#12052026)
What do you mean Python doesn't have a standard? There is a very mature standard and process for managing that standard.
Re:Why Python Is Slow: Looking Under the Hood (2014) by chrisseaton on Thursday July 07, 2016 @05:02PM (#12052055)
There isn't a document describing the semantics of Python is there?

That's what people mean by a 'standard'. Something at least trying to be somewhat semi-formal. If you mean that the implementation of CPython is a standard, well then I suppose that's arguable, but it's really not what anyone means.

Re:Why Python Is Slow: Looking Under the Hood (2014) by ak217 on Thursday July 07, 2016 @06:53PM (#12052615)
https://docs.python.org/3.5/reference/

I'm not sure why Armin is so categorical, but perhaps one way to rephrase what he said is that ES6 has had more opportunity to flesh out the spec/edge cases than Python, due to Javascript's popularity and healthy competition between implementations.

Re:Why Python Is Slow: Looking Under the Hood (2014) by the_mitsuhiko on Friday July 08, 2016 @01:12AM (#12053653)
Because I spent months of my life a few years ago trying to work on modernizing the Python interpreter and it made me a bitter person. There is so much bizarre behavior in the interpreter that people depend on which is entirely undocumented and non standardized. Very few people know what even such a simple thing as "a + b" does in the language.