Skip to content
0:00 / 0:00

#cpython#python#rust

Armin Ronacher - A Python for Future Generations

EuroPython Conference

36K subscribers • 31 videos on Hallway • Conference channel

YouTube
  • Recommended by 4 people: 4 on Hacker News.
  • A classic. People kept recommending it from 2017 to 2020.
  • Presented by Armin Ronacher, creator of Flask
  • An opinion. It argues one side of a question engineers disagree on.

Advanced. Deep dive for people who know the field.

6.1K views9 years ago4 recommendations

Programming languagesSystems programmingPythonLanguage design and type systemsCompilers and interpreters

Armin Ronacher explores the CPython interpreter's leaky abstractions and discusses how Python could evolve by drawing lessons from JavaScript and Rust.

"A Python for Future Generations [EuroPython 2017 - Keynote - 2017-07-10 - Anfiteatro 2] [Rimini, Italy] A journey through the current Python interpreter, some of the effects of its leaky abstraction on the language design and how we could evolve the language to future proof it. Covers some practical and not so practical ideas based on experience in the JavaScript and Rust ecosystem. License: This video is licensed under the CC BY-NC-SA 3.0 license: creativecommons.org/licenses/by-nc-sa/3.0/ Please see our speaker release agreement for details: ep2017.europython.eu/en/speaker-release-agreement/

Why it's here

4 people recommend this

What people say. Recommended for its deep insights into Python's internal design limitations and the challenges of optimizing the language.

arc776on Hacker News • Recommends

On “Attempts to make Python fast”

…d it's overall dynamism. It can be optimised and for sure there's some impressive attempts at doing so. However I don't think pure Python will ever be considered "fast" as these things necessarily get in the way. I highly recommend the two videos posted here that go into more detail as to why there are limits to how far optimisation can go: link link to this video…

chuboton Hacker News • Recommends

On “Why Python is Slow: Looking Under the Hood (2014)”

As far as I understand, one important difference is that JavaScript doesn't have __getattr__ or __setattr__ (or at least earlier versions didn't). You might not use those hooks a lot in your application code, but it seems that web frameworks and the like do a lot of reflection, which makes the code difficult/impossible to optimize (even at runtime with a JIT). Python also has __add__ (operator overloading) and JavaScript doesn't. This is a good talk about how subtle or crufty the semantics of something like "a+b" is in Python: link to this video The PyPy developers had to copy a lot of the implementation details of CPython, which doesn't always result in the fastest code.

ssivarkon Hacker News • Recommends

On “Python Is Eating the World”

…kes me wonder whether I should think of this in the context of "Worse is better". That said, Python's runtime introspection is such a killer feature that it's difficult to explain how empowering it feels for someone who is relatively new to programming. 1: How Python was Shaped by leaky Internals -- link 2: A Python for Future Generations -- link to this video…

ilyagron Hacker News • Recommends

On “Attempts to make Python fast”

I found the following talks by Armin Romacher very informative on these topics (C API, why python is more difficult to speed up than JS). link link to this video I wish these were the things Python 3 addressed, rather than Unicode. I guess it's much more obvious in hindsight than back when Python 3 was designed.