码迷,mamicode.com
首页 > Windows程序 > 详细

C# - CLR

时间:2014-10-30 15:20:30      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:clr   c#   



The Common Language Runtime (CLR), the virtual-machine component of Microsoft‘s .NET framework, manages the execution of .NET programs. A process known as just-in-time compilation converts compiled code into machine instructions which the computer‘s CPU then executes. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, garbage collection, security and thread management. All versions of the .NET framework include CLR.

CLR implements the Virtual Execution System (VES) as defined in the Common Language Infrastructure (CLI) standard, initially developed by Microsoft itself. A public standard defines the Common Language Infrastructure specification.

The runtime provides the following benefits:

  • Performance improvements.
  • The ability to easily use components developed in other languages.
  • Extensible types provided by a class library.
  • Language features such as inheritance, interfaces, and overloading for object-oriented programming.
  • Support for explicit free threading that allows creation of multithreaded, scalable applications.
  • Support for structured exception handling.
  • Support for custom attributes.
  • Garbage collection.
  • Use of delegates instead of function pointers for increased type safety and security.

C# - CLR

标签:clr   c#   

原文地址:http://blog.csdn.net/troubleshooter/article/details/40620083

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!