message passing

Goroutine 與 Channel 的共舞

category: random     13 minute read     Posted on:

Preface 在了解 Channel 之前,我們需要先了解一些基本的概念 如果你已經很熟悉這些概念,可以直接跳到 Introduction to Golang Channel 部分

關於 Python 你該知道的那些事 - GIL(Global Interpreter Lock)

category: random     10 minute read     Posted on:

Preface 我一開始用 Python 開發多執行緒的程式的時候 學長姐都告誡我說不要使用 threading 而是要使用 multiprocessing 這個 library 因為後者才是 真正的 threading