Armin Ronacher - A Python for Future Generations

Channel:EuroPython Conference · Length:42:43 · Published:2017-09-28 · Views:6163

Watch on YouTube

Summary

Armin Ronacher's EuroPython 2017 keynote examining how the CPython interpreter's leaky abstractions affect language design and how Python could evolve, drawing on JavaScript and Rust experience.

Why HN recommends it

Recommended for explaining why Python is hard to optimize and the limits of making it fast.

I highly recommend the two videos posted here — HN, 2020

Programming language design · Python, Ruby & scripting languages · Software performance & optimization

Subtitles (excerpt)

hello everybody so my name is Armand I do lots and lots of Python for many years at this point most you might know me from the flask framework which is probably the most popular project I made and as of sometime ago I'm working on sentry with like commercial level which is also a project came out of the piping community and it's not open source projects at its core if you want to find internet this is where you can do this also this light slides of the talk will be at the URL on the bottom and hopefully also on the website of the conference so this talk is sort of the idea of raising a little bit of awareness of how Python actually works for us as a community and maybe how we can evolve it to some degree so part of what made me do with this talk and then to similar once I gave before I was that as you start programming more and more you get involved with more than sort of the language where it started out so python is sort of my home but I also use rust JavaScript Ruby many other things and when you start using something very often you are amazed by some of the things it does better than sort of what your home language is but then as you start using it more and more you also realize that they

On Hacker News

As the OP states: > mutable interpreter frames, global interpreter locks, shared global state, type slots On top of this, Python is extremely dynamic and nothing can be assured without running through the code. So this leads to needing JITs to improve performance which then give a slow start up time and increased complexity. Even with JIT, Python is just not fast thanks to the above issues and it… — arc776, 2020-10
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] [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. — ilyagr, 2020-10
Python's success is richly deserved. The fact that it has been a long time coming (Python is almost 30 years old!) is an indication of the amount of sheer effort involved, and should give heart for all those working on building up the next generation of languages. Since this forum is likely to have some folks looking towards the future, I found interesting a couple of talks by Python veteran Armi… — ssivark, 2019-08
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 ov… — chubot, 2017-10

Related videos