clr - Is .NET VM a compiler or an interpreter? -


Does the .NET virtual machine compile CIL bytecok (and then execute the code at lower level - CPU codLar), Or is it an interpreter (which reads and executes the following instructions)?

Does Net's virtual machine compile CIL bytecok (and then code at lower level Executes the CPU codL)

Yes, it is a component of CLR (bus-in-time compilation) which is used by the intermediary language code (emitted by the compiler of the programming language) Converts in

There is no interpreter because dynamic languages ​​such as Ruby, PHP, Python Update


: As included in .Net 4, comments by @Nick Craver have been used in CLR to use dynamic language concepts Chance.


Comments