A Jesse Jiryu Davis Grok the GIL Write Fast And Thread Safe Python PyCon 2017

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

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

  • @MrBulbusOculi
    @MrBulbusOculi 7 ปีที่แล้ว +35

    2:30

    • @melizeche
      @melizeche 7 ปีที่แล้ว

      thanks!

    • @RoamingAdhocrat
      @RoamingAdhocrat 3 ปีที่แล้ว

      Seriously why are so many uploads like this

  • @ThrashAbaddon
    @ThrashAbaddon 7 ปีที่แล้ว +1

    Superb talk. Thank you Jesse :)

  • @cinedoodles905
    @cinedoodles905 3 ปีที่แล้ว

    Great talk. Thank you

  • @arjunkirpal9776
    @arjunkirpal9776 7 ปีที่แล้ว +2

    awesome! thanks for the talk!

  • @XieQiu
    @XieQiu 5 ปีที่แล้ว +1

    really great talk

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

    Amazing! Thank you!

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

    Amazing talk.

  • @mdesm2005
    @mdesm2005 7 ปีที่แล้ว +3

    Nice. And I like "dumb" examples, they let you focus on the principle that's being communicated. Question, how does the OS (linux, Windows) determine what core to run the forked process in ? Is the forked process guaranteed to run in a different core (assuming a muli core CPU)?

    • @Cat_Stevens
      @Cat_Stevens 7 ปีที่แล้ว

      It differs a lot between operating systems, because of course task scheduling is the job of the kernel. For Linux, take a look at stackoverflow.com/q/23259881/4532996. On Windows, it's much harder to know, because of course it's closed source, but the most cache friendly decision is usually chosen in both cases. However, on Windows, Darwin (Mac OS X's BSD-like kernel), and Linux, the chance to be moved to a new CPU core is affected by the parent process's "nice" status (see en.wikipedia.org/wiki/Nice_(Unix) and en.wikipedia.org/wiki/Processor_affinity )

    • @mdesm2005
      @mdesm2005 7 ปีที่แล้ว

      thank you :)

  • @redberries8039
    @redberries8039 6 ปีที่แล้ว +3

    It doesn't matter if you're the original or the clone ...what matters is who grabs the bank account first, the wife can wait ..she will follow the money