俺的回收站

架构分析 解释编译原理
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年12月15日

摘要: 通用语言基础组织 Common Language Infrastructure (CLI) 提供执行代码以及执行环境(the Virtual Execution System, or VES)的规范. CLI 架构包括了以下的内容: * 虚拟机设计 * 线程 * 动态绑定 classes, assemblies, and application domains. * 分布式文件加载 * 保护机制 * CTS(Common Type System) - Self-describing type system * Cross assembly method/member function invocation * Side-by-side execution (simultaneous support for separate versions of the same component) * Managed and unmanage 阅读全文

posted @ 2006-12-15 16:44 Riceball LEE 阅读(2353) 评论(5) 推荐(0) 编辑

2006年12月14日

摘要: 模块(Module)类似于以前的单元,用于分割不同的类和类型,以及资源(resource, 资源记录就是字符串,图象以及其它数据,他们只在需要的时候才会被调入内存)。类型的Meta信息也是模块的一部分。既然模块种包含类型的Meta信息,类型检查系统就可以联合静态和动态技术。当IL运行的时候,执行环境能得知所有变量参数的类型Meta信息,自然就能执行运行时刻的类型检查——这被称之为 reflecti... 阅读全文

posted @ 2006-12-14 15:51 Riceball LEE 阅读(872) 评论(0) 推荐(0) 编辑