
4
|
Chapter 1: Introduction
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
The CLR works with every language available for the .NET Framework, so there is
no need to have a separate runtime for each language. Code developed in a .NET
language is compiled by the individual language compiler (such as the Visual Basic
.NET compiler) into an intermediate format called (appropriately enough) Inter-
mediate Language (IL). At runtime, this IL code generated by the compiler is just-
in-time (JIT) compiled by the CLR into native code for the processor type the CLR
is running on. This compilation provides the flexibility of being able to develop
with multiple languages and target multiple processor types while still retaining the
performance of native code at execution time.
While there is some up-front cost on first execution to the JIT com-
pilation model, the Framework also offers the ability to pregener-
ate native code at install time through a utility called NGen.exe.
This utility eliminates the startup cost of JIT compiling the code, at
the expense of some of the optimizations that are available with JIT
compiling.
The .NET Framework Class Library (FCL)
The FCL is a set of reusable object-oriented classes that provide basic platform
functionality, from the data access classes of ADO.NET, to filesystem utility
classes (including file, directory, ...