Parallelism in Python | Guido van Rossum and Lex Fridman

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 39

  • @LexClips
    @LexClips  2 года назад +5

    Full podcast episode: ruclips.net/video/-DVyjdw4t9I/видео.html
    Lex Fridman podcast channel: ruclips.net/user/lexfridman
    Guest bio: Guido van Rossum is the creator of Python programming language.

  • @danielplainview6527
    @danielplainview6527 2 года назад +65

    When I found out Python was named, not after a snake, but for Monty Python… I was hooked. Then it turned out that Python was actually very useful and powerful - a nice bonus.

    • @tomasvallejos1609
      @tomasvallejos1609 Год назад +5

      I thought you were going to say "then it turned out that Monty Python was named after the snake" lol

    • @danielplainview6527
      @danielplainview6527 Год назад +6

      @@tomasvallejos1609 damn, that would’ve been way better lol.

  • @jae5577
    @jae5577 Год назад +1

    Hats off to you Guido, your insights to a lot of things even computer science level topics are very invaluable

  • @Age_of_Apocalypse
    @Age_of_Apocalypse 2 года назад +17

    I don't know about the Python's parallelism, but I'm using Golang - for AI projects - and the parallelism works very well and it's a big help in getting way faster. 😊

    • @vwvvvww
      @vwvvvww 2 года назад +3

      You should try Nim - I've used it a lot for dataset processing, and I loved it. Nim has a syntax somewhat similar to Python, it's pretty easy to code in Nim, and it's almost as fast as C - because Nim code is actually translated to C and compiled by gcc

    • @Age_of_Apocalypse
      @Age_of_Apocalypse 2 года назад

      @@vwvvvww Thank You for the information; I will check it out!

  • @JaapvanderVelde
    @JaapvanderVelde 2 года назад +8

    Chop the carrots, check. Peel the potatoes, cool. Mix the icing, wait what? What are we cooking here?

    • @saitaro
      @saitaro 8 месяцев назад

      A python pie.

  • @AsbestosSoup
    @AsbestosSoup Год назад +2

    I feel like chefs could write better concurrency algorithms than most programmers simply due to how they are trained to think in high pace kitchens

  • @dimitriosdesmos4699
    @dimitriosdesmos4699 2 года назад +13

    Python is an excellent language for beginners.....changed my life almost.

    • @holthuizenoemoet591
      @holthuizenoemoet591 2 года назад +6

      not exclusive to beginners, python is just a great tool

  • @jpa_fasty3997
    @jpa_fasty3997 2 года назад +3

    5:23 Mmmmm, a lovely carrot and potato cake. My favourite!

  • @picosdrivethru
    @picosdrivethru Год назад

    why can't all the ovens pull in cakes to be baked from a common list or que or whatever,
    and all cakes once ready to bake continously add themselves to that list ?

  • @Gruuvin1
    @Gruuvin1 Год назад +1

    When I fish with four fishing rods, I catch four times as many fish as I catch with one rod. And since I catch zero fish with one rod, ...

  • @woolfel
    @woolfel 2 года назад +1

    in reality, it's not callback or task for concurrent programming. Some types of processes fit more naturally to callback, while other use cases fit tasks. Dough Lea's book is the best one on the subject and his contribution to java concurrent made it one of the best implementations.

  • @madMILL3R
    @madMILL3R 2 года назад +1

    The best way I can describe and understand the idea of parallelism as it pertains to semaphores is a 4 way stop. Generally when it is your turn to go you progress through the intersection and do what you want with the shared data. Others may not cross into the intersection while you are crossing giving you full control of the data for whatever period is decided by the programmer, likely when the data manipulation is done or sufficiently done. Traditionally in most cases I think it would work as a queue or FIFO structure where the next process that hits that semaphore who is waiting will get access as soon as the other process has safely exited the intersection.

  • @floooobzdagget3734
    @floooobzdagget3734 2 года назад +5

    I'll stick with Apple Basic, Goto statements, and HGR2 graphics.

  • @wzqdhr
    @wzqdhr Год назад +1

    Guido is like: multi core screwed GIL up, well I’ll just wait for something that kills multi core in the future then GIL is back to the game!

  • @zameerahmed1775
    @zameerahmed1775 2 года назад +2

    Guido the God of Python ............ He is like a natural phenomenon

  • @kenhaley4
    @kenhaley4 Год назад +6

    "Chop the carrots, peel the potatoes, mix the icing..." What the hell is he making?😄

    • @bonedragon7665
      @bonedragon7665 Год назад

      m.ruclips.net/video/G08pqAaJi5k/видео.html

  • @kotus3831
    @kotus3831 2 года назад +1

    What kind of performance are we talking about here? Educate me please

  • @Alex-dd3oy
    @Alex-dd3oy 2 года назад +2

    Link to Guido's blog post please?

    • @AsbestosSoup
      @AsbestosSoup Год назад

      ruclips.net/video/xvFZjo5PgG0/видео.html

  • @ernesto8738
    @ernesto8738 Год назад

    meanwhile erlang knew exactly what to do with all those cores from the very beginning

  • @ianrust3785
    @ianrust3785 2 года назад +2

    Way to circumvent GIL in python in 3.12... this is big news!

  • @miguelmejia1952
    @miguelmejia1952 Год назад

    What about if it's the brain, so much that whàt í thought abóut and thàt was after í played a gàme and ín the game ít does what I thought I never wrote añy thing it just happen

  • @JayTeaFTW
    @JayTeaFTW 2 года назад +3

    LMAO. Literally writing a cuda parallelized page rank program in c++ as we speak 😂 FML

  • @jobe451
    @jobe451 2 года назад +2

    OMG: I am a Javascript guy. I hear that talk and think event-loop. When you right Javascript, all your I/O stuff is done async by default... Praise the enent-loop!!!

  • @aftalavera
    @aftalavera Год назад

    Every time you find two smart individuals the older will be wiser.

  • @JeremyParsons
    @JeremyParsons Год назад

    Guido is an honest critic of his own life's work and still helping python become less broken. Occam2, GO-lang and less broken languages never had some of these flaws. No one should ever use Python in production. Rust has fixed C. There is hope for a good typed scripting language with built-in CSP and multi-threading and perl5 is still the best for one-line powerful text munging but I hope it will shuffle off soon.

  • @randommofo123
    @randommofo123 Год назад

    Man makes excuses for why him and an entire team can't do what 1 dude from Facebook did.

  • @greendsnow
    @greendsnow 2 года назад +3

    this is slow...

  • @annaczgli2983
    @annaczgli2983 2 года назад +4

    5:39 Sheesh. He may be a great man. But, he uses the most terrible metaphors for teaching!