Hack into .Net Library, Is it Possible?
In a Microsoft TechDays seminar, i heard a speker saying that Microsoft's .Net Library can be modified to optimize for your specific purpose and performance (He didn't said it exactly above, but ment to say it).
I wanted to know that is it Possible to do so, wouldn't then .Net become a kind of 开发者_运维百科open source library
What he meant is that the language that .net code is compiled to (IL) is an ISO standard. Anyone can therefore get it and write an own runtime.
Read more bout CLR http://en.wikipedia.org/wiki/Common_Language_Runtime or Mono http://www.mono-project.com/Main_Page
The .NET Micro Framework was open-sourced not long ago. As were IronPython and IronRuby.
Beyond that it gets difficult. SSCLI20 was released 5 years ago but not as open source. Its Shared Source license allows it to be used to implement your own CLR, the Mono project took advantage of that. Selected portions of the framework source code are released under the Reference Source license. You can look at it to assist in debugging but you can't modify it.
I'm not sure whether Microsoft are following this path for the entire .Net framework, but you can download the source code for WCF at http://wcf.codeplex.com/.
If you find a bug you can make the change in your own copy and notify the WCF team how you fixed it. You can also make changes to the code so that it performs best for your specific implementation.
I'm not sure exactly how the licensing works, but it is not technically Open Source.
Have a look at the fourth point of the Section->Alternative_implementations http://en.wikipedia.org/wiki/.NET_Framework#Alternative_implementations
Try having a look at http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx
精彩评论