Extending SSCLI》非常酷的一份教學,告訴你如何擴充 CLI 的功能。

SSCLI (Shared Source Common Language Infrestrcuture) 是 Microsoft 代號為 Rotor 的一個計畫,目的是公開 CLI 的原始碼,讓更多的人參與 .NET 的開發與研究。微軟的這些傢伙真的非常聰明,曉得就是會有許多無聊的人(例如我)喜歡去探究系統內部的運作,當這些人對整個系統熟悉了自然就會成為 .NET 技術的支持者。不可否認地,閱讀 SSCLI 的原始碼真的有讓人如入寶庫的感覺,正如同這份教學裡的一段話:

A runtime such as SSCLI is a neat example of knowledge repository of the past 30 years of computer science.

或許 computer science 30 年的精華是有點誇張,但你絕對可以從中學到一點東西。然而學習最快的方法就是親自動手去做囉,這份教學藉由增加一個新的 IL instruction 來讓你對整個 CLI 的架構有一個大致的了解,值得一試!

如果你對 SSCLI 有興趣,歡迎一起來討論。Jason Whittington 在 MSDN 的這篇文章《Rotor: Shared Source CLI Provides Source Code for a FreeBSD Implementation of .NET》也值得一看:

your effectiveness as a programmer is directly proportional to how well you understand the layers of technology underneath you. ATL programmers never made it very far without understanding CLSIDs and QueryInterface. MFC programmers before them eventually had to face the music and learn about WNDPROCs.

下面是另外兩篇 google 到的資料: