第17页 IL and Verification
byhard (byhard.com)
读过 CLR via C#
- 章节名:IL and Verification
- 页码:第17页
In my opinion, the biggest benefit of IL isn’t that it abstracts away the underlying CPU. The biggest benefit IL provides is application robustness and security. 中间语言(IL)的最大益处是为应用提供稳定性和安全性。 While compiling IL into native CPU instructions, the CLR performs a process called verification. Verification examines the high-level IL code and ensures that everything the code does is safe. 将IL编译成本地CPU指令时,CLR会生成一个叫验证的进程,验证进程会检查高级中间语言代码,并确保代码所做的事情是安全的。 比如:参数数量,类型正确,是否有返回值等等。 The managed module’s metadata includes all of the method and type information used by the verification process. 验证进程使用托管模块中包括方法,类型信息的元数据块。
byhard对本书的所有笔记 · · · · · ·
-
第3页 Compiling Source Code into Managed Modules
Different languages offer different capabilities.For example, in unmanaged C/C++, you h...
-
第14页 Executing Your Assembly’s Code
A performance hit is incurred only the first time a method is called. All subsequent ca...
-
第17页 IL and Verification
-
第22页 The Framework Class Library
■ Web services ■ Web Forms/MVC HTML-based applications (websites) ■ Rich Windows GUI...
-
第24页 The Common Type System
The CTS specification states that a type can contain zero or more members: ■ Field ■ ...
说明 · · · · · ·
表示其中内容是对原文的摘抄