Thread programming

On speaking to a thread... and Erlang/OTP

In his biography, Winston Churchill writes about his early encounter with Latin while in school. The young student is puzzled by why mensa (table) also means "O table". His schoolmaster explains that "O table" is the vocative form: "You would use it in speaking to a table", to which the puzzled student blurts out: "But I never do", and is warned for his impertinence.

I feel the same way while programming with threads, my use of the vocative form "O thread" being more of a plea to the thread. Ideally I would like to avoid thread programming, yet write concurrent code for multi-core processors. In this blog post I'd like to give you some idea of how Erlang helps me to do that.