Some thoughts on improving current thread-based programming

However much I would like it to, it does not seem that the thread andshared memory based model of programming concurrency is going to go awayany time soon. So here is a theory on how to improve it.

I will start with a premise: the reason locking is such a problemin thread programming is because so much of it is implicit , and humans do a horrible job atremembering implicit things (especially implicit things at a distance).Thus to improve the situation, we need to make as much


最新消息~

最新消息:
今晚 「歌詩吧漫遊 Gili Gulu」因颱風關係活動取消。

反彈之後

救市刺激所制造的短期反彈挨不到兩天(美國三天),恆指今天升勢算是停止了,股市個別發展。

金利來(0533,who cares? me... because I had some in hand before, thanks to Mr Shuen Pak Man)一度升上$1.46,從上周四低位$1.18,升近24

談少年四大名捕,說溫瑞安


今晚開始無線將會播放古裝武俠劇“少年四大名捕”,我對這些電視製作沒有多大興趣,因為他們的改編總是會跟原著有很多出入,但作為溫瑞安小說的資深讀者,無線拍“溫書”,我是感到很高興的,因為這樣應該可以讓更多

20080922 網摘 – 自由二點零

Finance

China

Election


熟睡中,她們多美麗。
















Continue reading...

Lady First 專欄 (11-12)

很愛不過更愛

早陣子跟許久沒見的朋友在MSN聊天,我的朋友——就簡稱他為M先生,問了一條問題:「我好愛我女朋友,但係我更愛自由,可以點?」。嗯,到底可以怎樣呢?他問我,我也在問自己。由問題本身開始推論,其實

選擇


我最近在讀一本名為《猜火車》的小說,“猜火車”也就是香港譯為《迷幻列車》的Trainspotting,這本小說曾經被拍成電影,電影非常成功,無論影像和音樂都令人留下深刻印象。Trainspotting的故事很特別,講述一班青少年終日吸毒濫藥,靠政府

為什麼香港人眼中只有$(2)

上 回 提 到, 人 類 同 時 活 在 兩 個 世 界 , 被 社 會 常 規 (Social Norms) 和 被 經 濟 常 規 (Economic Norms) 所 支 配 的 世 界 。 人 在 哪 個 時 候 處 於 哪 個 常 規 模 式 (mode) , 是 由 一 條 單 薄 的 心 理 界 線 劃 分 。

《 誰 說 人 是 理 性 的 》 (Predictably Irrational) 書
Continue reading...

Pastimes

I believe I am the only child I know of who grew up without a television set at home.

I used to either change topics or walk away whenever my classmates exchanged words on television stories. My unnerving conclusion was that people will laugh at me when they found me tongue-tied with the language of television. I use the past tense not because I have become familiar with the television stories but because I get over the inferiority complex of growing up without television.

My love for the alphabet and reading, which endures