タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

stacklessとcheckitoutに関するrawwellのブックマーク (1)

  • Stackless vs GIL: It's a draw.

    After thinking some more about David Beazley's research into the GIL, I realized the gravity of his comment that the GIL provides "Basically a kind of "cooperative" multitasking". I've spent 10 minutes knocking up some code in Stackless that demonstrates something similar to what David describes. I doubt many people knew Stackless has this capability. import stackless #A contrived CPU bound task d

    rawwell
    rawwell 2009/06/14
    "Stackless can almost achieve the same kind of threading that CPython provides, without using OS threads. I think that is pretty neat. Why do I say "almost"? The Stackless solution does not provide everything the GIL does. For example, if a tasklet makes some C library call which blocks for a long t
  • 1