or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
26 used & new from $20.00

Have one to sell? Sell yours here
 
   
Compiling for the .NET Common Language Runtime (CLR)
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Compiling for the .NET Common Language Runtime (CLR) (Paperback)

~ John Gough (Author)
4.5 out of 5 stars  See all reviews (4 customer reviews)

List Price: $39.95
Price: $31.16 & this item ships for FREE with Super Saver Shipping. Details
You Save: $8.79 (22%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
12 new from $22.81 14 used from $20.00

Frequently Bought Together

Compiling for the .NET Common Language Runtime (CLR) + Expert .NET 2.0 IL Assembler + CLR via C#, Second Edition (Pro Developer)
Price For All Three: $132.94

Show availability and shipping details

  • This item: Compiling for the .NET Common Language Runtime (CLR) by John Gough

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Expert .NET 2.0 IL Assembler by Serge Lidin

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • CLR via C#, Second Edition (Pro Developer) by Jeffrey Richter

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

CLR via C#, Second Edition (Pro Developer)

CLR via C#, Second Edition (Pro Developer)

by Jeffrey Richter
4.8 out of 5 stars (48)  $37.79
Shared Source CLI Essentials

Shared Source CLI Essentials

by David Stutz
4.5 out of 5 stars (4)  $26.56
The Common Language Infrastructure Annotated Standard

The Common Language Infrastructure Annotated Standard

by James S. Miller
4.8 out of 5 stars (5)  $43.86
Customizing the Microsoft® .NET Framework Common Language Runtime

Customizing the Microsoft® .NET Framework Common Language Runtime

by Steven Pratschner
Code Generation in Microsoft .NET

Code Generation in Microsoft .NET

by Kathleen Dollard
4.0 out of 5 stars (10)  $48.34
Explore similar items

Editorial Reviews

Product Description

The definitive book for serious software engineers, compiler developers, and language implementers. Examples included are drawn from C#. Softcover.


From the Back Cover

  • Go "under the hood" with .NET's Common Language Runtime!
  • The definitive book for serious software engineers, compiler developers, and language implementers
  • Mapping any language's key features onto .NET's common object model
  • Comprehensive 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 more
  • Shows how to map a language's key features onto the .NET Virtual Object System's common object model
  • Explains how CLR represents programs at compile time
  • Explores the semantic analysis performed by CLR prior to emitting Microsoft Intermediate Language (MSIL) code
  • Provides in-depth coverage of MSIL code generation
  • Covers features needed by a wide range of languages
  • Explores advanced topics such as accessing nonlocal variables and supporting multiple inheritance
  • Includes many examples drawn from Microsoft's new C# language

If 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.


Product Details

  • Paperback: 416 pages
  • Publisher: Prentice Hall PTR (November 5, 2001)
  • Language: English
  • ISBN-10: 0130622966
  • ISBN-13: 978-0130622969
  • Product Dimensions: 9.1 x 7 x 1 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon.com Sales Rank: #758,162 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #62 in  Books > Computers & Internet > Programming > Languages & Tools > Compilers

More About the Author

K. John Gough
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's K. John Gough Page

What Do Customers Ultimately Buy After Viewing This Item?

Compiling for the .NET Common Language Runtime (CLR)
54% buy the item featured on this page:
Compiling for the .NET Common Language Runtime (CLR) 4.5 out of 5 stars (4)
$31.16
Expert .NET 2.0 IL Assembler
15% buy
Expert .NET 2.0 IL Assembler 5.0 out of 5 stars (4)
$63.99
Customizing the Microsoft® .NET Framework Common Language Runtime
13% buy
Customizing the Microsoft® .NET Framework Common Language Runtime 4.2 out of 5 stars (9)
CLR via C#, Second Edition (Pro Developer)
9% buy
CLR via C#, Second Edition (Pro Developer) 4.8 out of 5 stars (48)
$37.79

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

4 Reviews
5 star:
 (3)
4 star:    (0)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (4 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
34 of 36 people found the following review helpful:
5.0 out of 5 stars Excellent coverage of IL and practical compilation for CLR, November 13, 2001
By A Customer
Compiling for the .NET Common Language Runtime is a very complete book and an excellent reference. It provides a solid introduction to the CLR, type system and instruction set (IL). The discussion of code generation for the CLR is thorough.

An excellent aspect of the book is that it goes beyond the more mundane aspects to discuss broader issues (for example, in mapping language semantics to the CLR). It also manages to include very practical tips such as using the visitor pattern. The book has amazing breadth and depth, yet it is marvelously concise! The writing is clear and easy to understand.

Every compiler phase (from scanning to code generation) is covered, so the book is very accessible for programmers new to compilation (as I was). However I doubt that more experienced programmers will find it tedious as the chapters on scanning, parsing and semantic analysis could probably be skipped. The emphasis is obviously on code generation, and the usual language constructs (such as loops, etc.) are covered with some interesting discussion. The book also discusses other issues with compiling for the CLR-- using custom attributes, mangling names for languages that don't support method overloading, even dealing with languages with multiple inheritance (the CLR only supports single inheritance).

The book generates textual IL that is compiled with ilasm, but there is a chapter on using System.Reflection.Emit. This is the only real coverage of an API, so the book avoids any tiresome material that is better left to the MSDN.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
29 of 32 people found the following review helpful:
5.0 out of 5 stars Review from CodeGuru.com, November 9, 2001
The following review from a CodeGuru member was posted to CodeGuru.com for this book:

Finally a book written by an author who knows his material and is able to express himself clearly in written form. I have reviewed many books and most of them leave me unsatisfied with the depth of information or the breadth of coverage. This book did not disappoint in either of these areas. It is excellent for those wishing to learn precisely how a language is mapped onto the CLR. Granted not everyone will have a need for such information but if you do then I would not hesitate to recommend it.

That's the good news, the bad is that this book is not really needed to be a proficient C# programmer. I believe the audience for this book will be very specialized. People interested in squeezing the very last bit of performance out of C# will undoubtedly compare the IL code generated by the compiler and then modify their C# practices accordingly. Others faced with debugging in the absence of a symbolic debugger, embedded environments???, will need to code in C# and then debug in IL. For these types of situations this book will prove to be invaluable.

The book does an excellent job of taking sample C# code and showing the resulting generated IL code. I can't realistically think of an example of typical code or a typical code sequence that is not covered by one of the many examples. It digs into assemblies, unmanaged code, and interaction with COM. It even goes so far as to describe how name mangling can be accomplished in languages that traditionally do not support such a feature.

The assumed knowledge section indicates that the reader should be familiar with the basic concepts of programming languages, customary data structures and algorithm theory. I would also recommend that the reader have some knowledge of grammars, lexical analysis and parsing to the level of a first college course.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
7 of 7 people found the following review helpful:
3.0 out of 5 stars essentially an IL generation book, June 24, 2005
The book does NOT cover all phases of a compiler as a previous reviewer indicated, such as parsing or designing and constructing abstract syntax trees. It only covers the last phase of generating IL for equivalent Pascal code. In that sense, it duplicates what you can learn from the ildasm and reflector tools, as well as the more recent book Inside Microsoft .NET IL Assembler by Lidin. The book is well written, however I would have liked to have seen more coverage of emitting IL to handle non-Pascal or non-C# features. The book mentions a corresponding website with more code, but I couldn't find much there at all. Also the book suggests looking at "Project 7" by Microsoft which apparently years ago implemented many languages for .NET including Python, but there is nothing about that project available anywhere.

I would recommend the Lidin book instead, plus the use of ildasm and Reflector.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Definitely the best book for IL generation
Such a thorough discussion regarding emitting code in a .NET compiler!

Though the book is a little dated now it is still highly recommended as it still covers most of... Read more
Published 14 months ago by Demetrius Tsitrelis

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Discussion Replies Latest Post
Textbooks for Kindle DX? 61 1 day ago
textbook scam 66 6 days ago
Amazon is a great place to buy textbooks! 35 18 days ago
Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.