侵入 .Net 库,有可能吗?

发布于 2024-10-08 11:19:57 字数 140 浏览 8 评论 0原文

在 Microsoft TechDays 研讨会上,我听到一位演讲者说可以修改 Microsoft 的 .Net 库以针对您的特定目的和性能进行优化(他在上面没有具体说出来,但我想这么说)。

我想知道是否可以这样做,然后 .Net 不会成为一种开源库

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

枫林﹌晚霞¤ 2024-10-15 11:19:57

他的意思是,.net 代码编译成的语言(IL)是 ISO 标准。因此任何人都可以获取它并编写自己的运行时。

详细了解 CLR http://en.wikipedia.org/wiki/Common_Language_Runtime 或 Mono http://www.mono-project.com/Main_Page

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

旧时模样 2024-10-15 11:19:57

.NET Micro Framework 不久前开源了。 IronPython 和 IronRuby 也是如此。

除此之外,事情就变得困难了。 SSCLI20 于 5 年前发布,但不是开源的。它的共享源代码许可证允许它用于实现您自己的 CLR,Mono 项目利用了这一点。框架源代码的选定部分在参考源许可证下发布。您可以查看它以帮助调试,但不能修改它。

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 2024-10-15 11:19:57

我不确定 Microsoft 是否在整个 .Net 框架中遵循此路径,但您可以在 下载 WCF 的源代码http://wcf.codeplex.com/

如果您发现错误,您可以在自己的副本中进行更改,并通知 WCF 团队您如何修复它。您还可以更改代码,使其最适合您的特定实现。

我不确定许可到底是如何运作的,但它在技术上不是开源的。

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.

絕版丫頭 2024-10-15 11:19:57

看一下Section->Alternative_implementations的第四点
http://en.wikipedia.org/wiki/.NET_Framework#Alternative_implementations

Have a look at the fourth point of the Section->Alternative_implementations
http://en.wikipedia.org/wiki/.NET_Framework#Alternative_implementations

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文