Compiling for the .NET Common Language Runtime (CLR)
Go "under the hood" with .NET's Common Language Runtime!The definitive book for serious software engineers, compiler developers, and language implementersMapping any language's key features onto .NET's common object modelComprehensive coverage of Microsoft Intermediate Language (MSIL)Includes extensive examples drawn from C#The first practical guide to Microsoft's .NET Common Language Runtime!Compiling for the .NET Common Language Runtime (CLR)is the first book to give software engineers all the details and guidance they need to create full-featured .NET compilers or implement programming languages for the .NET environment. Renowned compiler expert John Gough presents an unprecedented "under the hood" inspection of Microsoft's .NET CLR, illuminating the key concepts underlying Microsoft's new technology and demonstrating exactly how CLR maximizes interoperability across multiple programming languages. The book uses a running example to illustrate its key points(Gough's own open source Gardens Point Component Pascal compiler(which can be used as a basis for sophisticated experimentation.Reviews every element of CLR: Virtual Execution Engine, Base Instruction Set, Common Type System, and moreShows how to map a language's key features onto the .NET Virtual Object System's common object modelExplains how CLR represents programs at compile timeExplores the semantic analysis performed by CLR prior to emitting Microsoft Intermediate Language (MSIL) codeProvides in-depth coverage of MSIL code generationCovers features needed by a wide range of languagesExplores advanced topics such as accessing nonlocal variables and supporting multiple inheritanceIncludes many examples drawn from Microsoft's new C# languageIf you need absolute mastery over the .NET CLR, only one book delivers what you're looking for:Compiling for the .NET Common Language Runtime (CLR)by John Gough.