C# 编译器是用 C++ 编写的吗?
C#编译器是用C++编写的吗?
Was C# compiler written in C++?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
C#编译器是用C++编写的吗?
Was C# compiler written in C++?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
是的,它是——作为 CLR 的大多数。 如果您想了解 CLR 和/或编译器的内部结构,我强烈推荐 Microsoft 的共享源 CLI(又名 Rotor):
但是,实际上有一个用 C# 编写的编译器。 我相信 Mono 就是这样写的。 下载Mono 源并亲自查找。
Yes it was - as majority of CLR. If you want to see the internals of CLR and/or compilers I would strongly recommend Shared Source CLI from Microsoft (aka Rotor):
But, there is actually a compiler written in C#. I believe that Mono is written that way. Download Mono sources and find out for yourself.
Microsoft 编写了一个新的(截至 2011 年末)C# 和 VB 编译器,名为 Roslyn,它分别用C#和VB.NET编写。 项目页面位于此处。 Roslyn 编译器被编写为一个公开丰富公共 API 的库。 有一篇新闻文章 此处来自 InfoWorld 的相关信息。
更新:
自 2014 年 4 月 3 日起,Roslyn 在 Apache License 2.0 下开源。
There is a new (as of late 2011) C# and VB compiler written by Microsoft called Roslyn which is written in C# and VB.NET respectively. Project page is here. The Roslyn compiler is written as a library that exposes a rich public API. There is a news article here about it from InfoWorld.
UPDATE:
As of April 3, 2014, Roslyn is open source under the Apache License 2.0.
是的,但有计划用 C# 编写一个 C# 编译器,我相信这已在 此播客。
Yes, but there are plans to write a C# compiler in C#, which I believe was discussed in this podcast.
是的。
Mono C# 编译器是用 C# 编写的。
Yes.
The Mono C# compiler is written in C#.
.NET 框架是用 Simple Managed C (SMC) 编写的
历史
来自:http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29
The .NET framework was written in Simple Managed C (SMC)
History
From: http://en.wikipedia.org/wiki/C_Sharp_%28programming_language%29