Shared Source CLI Essentials
暫譯: 共享源碼 CLI 基礎知識

David Stutz, Ted Neward, Geoff Shilling

  • 出版商: O'Reilly
  • 售價: $1,270
  • 貴賓價: 9.5$1,207
  • 語言: 英文
  • 頁數: 384
  • 裝訂: Paperback
  • ISBN: 059600351X
  • ISBN-13: 9780596003517
  • 無法訂購

買這商品的人也買了...

商品描述

Microsoft's Shared Source CLI (code-named "Rotor") is the publicly available implementation of the ECMA Common Language Infrastructure (CLI) and the ECMA C# language specification. Loaded with three million lines of source code, it presents a wealth of programming language technology that targets developers interested in the internal workings of the Microsoft .NET Framework, academics working with advanced compiler technology, and people developing their own CLI implementations. The CLI, at its heart, is an approach to building software that enables code from many independent sources to co-exist and interoperate safely.

Shared Source CLI Essentials is a companion guide to Rotor's code. This concise and insightful volume provides a road map for anyone wishing to navigate, understand, or alter the Shared Source CLI code. This book illustrates the design principles used in the CLI standard and discusses the complexities involved when building virtual machines. Included with the book is a CD-ROM that contains all the source code and files.

After introducing the CLI, its core concepts, and the Shared Source CLI implementation, Shared Source CLI Essentials covers these topics:

  • The CLI type system
  • Component packaging and assemblies
  • Type loading and JIT Compilation
  • Managed code and the execution engine
  • Garbage collection and memory management
  • The Platform Adaptation Layer (PAL): a portability layer for Win32®, Mac OS® X, and FreeBSD


Written by members of the core Microsoft® team that designed the .NET Framework, Shared Source CLI Essentials is for anyone who wants a deeper understanding of what goes on under the hood of the .NET runtime and the ECMA CLI. Advanced .NET programmers, researchers, the academic community, and CLI implementers who have asked hard questions about the .NET Framework will find that this behind-the-scenes look at the .NET nucleus provides them with excellent resources from which they can extract answers.

Table of Contents

Preface

1. Introducing the CLI Component Model

2. Getting Started with Rotor

3. Using Types to Describe Components

4. Extracting Types from Assemblies

5. Synthesizing Components

6. Regulating the Execution Engine

7. Managing Memory Within the Execution Engine

8. Interlude: Enabling Component Integration with Metadata

9. The Platform Adaptation Layer

A. A Quick Tour of Rotor

B. Building Rotor

C. Porting Rotor

D. Rotor Macrology

Index

商品描述(中文翻譯)

微軟的共享源碼 CLI(代號「Rotor」)是 ECMA 通用語言基礎架構(CLI)和 ECMA C# 語言規範的公開實作。擁有三百萬行的源碼,它提供了豐富的程式語言技術,針對對微軟 .NET Framework 內部運作感興趣的開發者、從事先進編譯器技術的學者,以及開發自己 CLI 實作的人士。CLI 的核心是一種構建軟體的方法,使來自許多獨立來源的程式碼能夠安全共存和互操作。

《共享源碼 CLI 基礎》是 Rotor 代碼的伴隨指南。這本簡明而深刻的書籍為任何希望導航、理解或修改共享源碼 CLI 代碼的人提供了一個路線圖。本書說明了 CLI 標準中使用的設計原則,並討論了構建虛擬機時所涉及的複雜性。書中附有一張 CD-ROM,包含所有源碼和文件。

在介紹 CLI、其核心概念和共享源碼 CLI 實作後,《共享源碼 CLI 基礎》涵蓋以下主題:
- CLI 類型系統
- 元件包裝和組件
- 類型加載和 JIT 編譯
- 管理程式碼和執行引擎
- 垃圾回收和記憶體管理
- 平台適應層(PAL):針對 Win32®、Mac OS® X 和 FreeBSD 的可攜性層

《共享源碼 CLI 基礎》由設計 .NET Framework 的微軟核心團隊成員撰寫,適合任何希望深入了解 .NET 執行時和 ECMA CLI 背後運作的人士。進階的 .NET 程式設計師、研究人員、學術界以及對 .NET Framework 提出困難問題的 CLI 實作人員,將會發現這本書提供了關於 .NET 核心的幕後觀察,並提供了他們可以提取答案的優秀資源。

目錄
前言

1. 介紹 CLI 元件模型
2. 開始使用 Rotor
3. 使用類型描述元件
4. 從組件中提取類型
5. 合成元件
6. 調節執行引擎
7. 在執行引擎內管理記憶體
8. 插曲:通過元數據啟用元件整合
9. 平台適應層
A. Rotor 快速導覽
B. 構建 Rotor
C. 移植 Rotor
D. Rotor 宏觀學
索引