David Beazley - Die Threads

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 10

  • @zustaz
    @zustaz 4 ปีที่แล้ว +15

    David's talks makes so much of motivation for me as an software developer

  • @bloodgain
    @bloodgain 5 ปีที่แล้ว +4

    Why do threads have to block at the OS? I wonder if the theory behind that might be touched on in Hans J. Boehm's 2004 paper titled "Threads Cannot be Implemented as a Library". I haven't read the paper in a long time, so I'm not sure, but I recall that he outlines many of the reasons you need compiler and kernel support for threading without running into unexpected behavior.

  • @r3ap3rpy
    @r3ap3rpy 6 ปีที่แล้ว +4

    Cool video, as allways! :)

  • @Seiven2077
    @Seiven2077 6 ปีที่แล้ว +4

    really interesting things

  • @PanduPoluan
    @PanduPoluan 4 ปีที่แล้ว +1

    I wish this simple API will be implemented over the Python subinterpreter system...

  • @squelchedotter
    @squelchedotter 6 ปีที่แล้ว +1

    not to start the flamewar on 572 (30:00), but anything of the form while (x := y()): is really better expressed as a generator...

    • @mmmhorsesteaks
      @mmmhorsesteaks 6 ปีที่แล้ว

      Not really sure where that outrage came from. Not something i'd use every day but i really could have used it in a few hairy list comprehensions.

    • @Algoritmik
      @Algoritmik 6 ปีที่แล้ว +5

      The whole purpose of the talk was running a blocking code in threads, so they don't block. If you involve generators, you already intent not to block, that's why David used pure while loop.