看板
[ Python ]
討論串[問題] 關於stackless python的理解
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
最近才剛開始翻Stackless python. 其中很吸引人的一點是有支援 task serialization.. One of the main features of Stackless is its ability to pickle and unpickle. tasklets. Tha
(還有291個字)
內容預覽:
yes. 這就是最主要的好處 ;). 沒有錯. 正確. 可以 schedule(), 做 continuation XD. 其實官方的 generator, yield 就是從 stackless 的 continuation 學過來的. 用目前的 yield 語法寫起來比 stackless 輕鬆
(還有237個字)
內容預覽:
今天我看了一下stackless python. 有幾點還蠻困惑的. 我對它的理解 是覺得他類似twisted那樣. 他從頭到尾可能只有一個. stackless.run()的main thread在跑. 而會對於tasklet排程 決定什麼時候要跑哪個tasklet. 就和twisted的reac
(還有520個字)
首頁
上一頁
1
下一頁
尾頁