< BACK NEXT > |
The CLR introduces many new ideas for Windows developers. To help tie together the concepts described in this chapter, Figure 3-13 shows a process running a CLR-based application. The process includes a runtime host, a single app domain, and the CLR itself. Some of the CLR's more important components are shown, including the loader, the JIT compiler, and the garbage collector. Within the app domain, there's a single loaded assembly containing the three classes X, Y, and Z along with their metadata. Some methods in the classes have already been JIT-compiled, while others have not. And as the figure shows, variables of various value and reference types are in use by this running code. There's even some garbage on the heap waiting to be collected.
All CLR-based applications have much in common
Creating software on the .NET Framework requires using the CLR, but it doesn't really require understanding how the CLR provides all of its services. Still, having a good conceptual model of what's going on will help in understanding how .NET Framework applications work. This understanding will help you make better choices and so build better applications using the .NET Framework.
Understanding the CLR is important
< BACK NEXT > |