.NET Framework的MSIL源代码编译器在哪里? [英] Where does the compiler for source code to MSIL resides in .NET Framework?

查看:70
本文介绍了.NET Framework的MSIL源代码编译器在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于.NET Framework,我有一个问题:MSIL源代码的编译器放在哪里?是在CLR本身还是其他任何层?另外,请给我关于.NET Framework的非常小(还足够)的插图.

I have a question regarding .NET Framework: Where does the compiler for source code to MSIL reside? Is it at CLR itself or any other layer? Also, please give me very small (yet enough) illustration for the .NET Framework.

[

推荐答案

下面是一个快速流程图(未遵循符号),该流程图将对其进行澄清.

Here's a quick flowchart (notations not followed) that will clarify most of it.

C#或VB编译器只是将工具(托管)转换为CLR理解的IL的工具.当您使用Visual Studio进行编译时,这些工具将起作用.

C# or VB compilers are just the tools which convert your code (managed) to IL which CLR understands. These tools work when you compile using Visual Studio.

JIT(JIT编译)是CLR的功能之一,它在运行时将IL代码转换为最终执行的机器代码.这就是为什么有时在较高级别上我们说CLR进行IL到机器代码的转换.

JIT (JIT compilation) is one of the features of CLR which, at run-time, converts IL code to machine code which is executed finally. This is why sometimes, at a high-level, we say CLR does IL-to-Machine code conversion.

这篇关于.NET Framework的MSIL源代码编译器在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆