Making Python 5x FASTER with Guido van Rossum and Mark Shannon - Talk Python To Me Ep.339

Ойын-сауық

There has a been a bunch of renewed interested in making Python faster. While for some of us, Python is already plenty fast. For others, such as those in data science, scientific computing, and even the large tech companies, making Python even a little faster would be a big deal.
This episode is the first of several that dive into some of the active efforts to increase the speed of Python while maintaining compatibility with existing code and packages.
Who better to help kick this off than Guido van Rossum and Mark Shannon? They both join us to share their project to make Python faster. I'm sure you'll love hearing what they are up to.
▬▬▬▬ About the podcast ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
This video is the uncut, live recording of the Talk Python To Me podcast ( talkpython.fm ). We cover Python-focused topics every week and publish the edited and polished version in audio form. Subscribe in your podcast player of choice (100% free) at talkpython.fm/subscribe.
▬▬▬▬ Guests ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Guido van Rossum: / gvanrossum
Mark Shannon: / mark-shannon-bb459551
▬▬▬▬ Links and resources from the show ▬▬▬▬▬▬▬▬▬▬▬▬
Faster Python Plan: github.com/faster-cpython/ide...
The “Shannon Plan”: github.com/markshannon/faster...
Sam Gross's nogil work: docs.google.com/document/d/18...
Listen this episode on Talk Python: talkpython.fm/episodes/show/3...
Episode transcripts: talkpython.fm/episodes/transc...
▬▬▬▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Listen to the Talk Python To Me podcast at talkpython.fm Over 250 hours of Python courses at training.talkpython.fm/courses Follow us on on Mastodon. Michael: fosstodon.org/@mkennedy & Talk Python fosstodon.org/@talkpython

Пікірлер: 32

  • @pradhvanbisht2177
    @pradhvanbisht21772 жыл бұрын

    I watched it last night live. Thanks for organizing it and putting in all the effort. The live streams are definitely are my favorite in a way wherein the live chat you pick up questions and ask the guest. Makes the whole podcast turned into a live stream more engaging for us as the viewer.

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Thanks, I'm glad you're enjoying the live stream. I do like how it opens another dimension of the experience and let's you all have a voice in the episode. :)

  • @pradhvanbisht2177

    @pradhvanbisht2177

    2 жыл бұрын

    @@mikeckennedy Indeed. I try to catch as many live streams as I can of Talk Python as well as of Python Bytes just so I can try to interact with the guest and you folks. Which in the previous years would be only me listening with no interaction.

  • @alexanderscott2456
    @alexanderscott24562 жыл бұрын

    Michael, I've been looking forward to this interview all week.Thank you so much for the content. Keep up the excellent work.

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Thanks Alexander, I appreciate it.

  • @nitin.cherian
    @nitin.cherian2 жыл бұрын

    Thanks, Micheal. Glad to see the faces of people who are taking part in the podcast. Really like the prompt display of the relevant web pages/docs as the conversation takes place.

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Thanks Nitin!

  • @planetarylizard1297
    @planetarylizard12972 жыл бұрын

    Great topic, great guests!

  • @vOVERip
    @vOVERip2 жыл бұрын

    Awsome! Thank you so much for this interview and in generall for the whole podcast. I'm a big fan! I'm sorry for my english, but hope you get the intention. :)

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Came through great, thanks so much!

  • @PaulJacobson
    @PaulJacobson2 жыл бұрын

    Thank you for this one. I really enjoyed this.

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Thanks Paul, glad you liked it. :)

  • @a4e69636b
    @a4e69636b2 жыл бұрын

    Can't wait for the JIT compiler. Thankfully we already have Numba.

  • @talkpython

    @talkpython

    2 жыл бұрын

    Indeed. There is a lot of room for improvement it sounds like. Happy Mark and Guido are working on it, as well as others.

  • @blueman333

    @blueman333

    Жыл бұрын

    Numba still requires lots of restrictions which takes the fun out of python. Recently I wrote some code which was not so fast because of large for loops. So I thought I would just plug in JIT and have good results. But complicated classes along with third party libraries, I couldn't make it any faster. Neither with numba nor with drop in JIT compiler in python 3.10

  • @MagnusAnand
    @MagnusAnand2 жыл бұрын

    What a fantastic talk

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Thanks Guz!

  • @George-lt6jy
    @George-lt6jy2 жыл бұрын

    I think this is a great idea, there should be more experimentation with CPython like this. The reference implementation has so much influence on the direction of the language. I love hearing that there is interest in improving in this direction and I look forward to see how these interesting ideas play out. From my point of view, I think they are approaching their changes in a responsible way. Maybe, down the line we can see some creative things.

  • @talkpython

    @talkpython

    2 жыл бұрын

    Thanks George. Definitely agree. There's a lot happening around performance all of a sudden. We have this work with Guido and Mark. There is Sam Gross's work. There's Anthony Shaw's work. And the core devs are compiling cpython down to web assembly. I'm sure something cool will come from all of this and other initiatives.

  • @ORood
    @ORood2 жыл бұрын

    Nice 👍

  • @matthiasschuster9505
    @matthiasschuster9505 Жыл бұрын

    Codon is an alternative compiler, that is still WAY faster than Python 3.11

  • @muratahmetgenc6942
    @muratahmetgenc69425 ай бұрын

    it's a very long video, how do we do it, in short. cython?

  • @hamkaprastika2251
    @hamkaprastika2251 Жыл бұрын

    I dоwnloaded everything is okay

  • @AxiomPrime69
    @AxiomPrime692 жыл бұрын

    I would like to see Python foundation transform into a DAO built on Algorand. I think governance run by dev contributors and tokenomics could provide more resources for the foundation.

  • @talkpython

    @talkpython

    2 жыл бұрын

    Non-profits have issues, but I think a DAO on Algorand might destabilize it more than help.

  • @kyuss0x1
    @kyuss0x12 жыл бұрын

    nogil python is more interesting idea

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    Hey, yes, Sam's nogil idea is interesting. Two things: 1. This has been going for over a year, Sam's nogil work was announced last week. 2. They are multiplicative. If Guido and Mark make Python 5x faster, as they say. And Sam makes Python 95% scalable for "embarrassingly parallel" problems, combining them, say on a 10 core machine would make it 48x faster. That is more interesting than both 5x and 10x (each project alone).

  • @kyuss0x1
    @kyuss0x12 жыл бұрын

    boring

  • @mikeckennedy

    @mikeckennedy

    2 жыл бұрын

    If you were bored, then maybe this isn't for you then. Also, try to think of the hard work that people put into things before you insult them. You could be way less of a jerk if you said, "this was boring because x, y, and z, but would have been amazing if you did u & v." But no, you're not a builder. You're not a creator. You're just a low-life who complains and doesn't contribute.

  • @kyuss0x1

    @kyuss0x1

    2 жыл бұрын

    still boring

  • @ChuckVenter

    @ChuckVenter

    2 жыл бұрын

    Not helpful

  • @raianmr2843

    @raianmr2843

    2 жыл бұрын

    this is a certified "zoomer who just started learning programming with python" moment

Келесі