AnyBook4Less.com | Order from a Major Online Bookstore |
![]() |
Home |  Store List |  FAQ |  Contact Us |   | ||
Ultimate Book Price Comparison Engine Save Your Time And Money |
![]() |
Title: Compiling for the .NET Common Language Runtime by John Gough ISBN: 0-13-062296-6 Publisher: Prentice Hall Pub. Date: 26 October, 2001 Format: Paperback Volumes: 1 List Price(USD): $39.95 |
Average Customer Rating: 5 (2 reviews)
Rating: 5
Summary: Excellent coverage of IL and practical compilation for CLR
Comment: 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.
Rating: 5
Summary: Review from CodeGuru.com
Comment: 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.
![]() |
Title: Inside Microsoft .NET IL Assembler by Serge Lidin ISBN: 0735615470 Publisher: Microsoft Press Pub. Date: 06 February, 2002 List Price(USD): $49.99 |
![]() |
Title: Shared Source CLI Essentials by Ted Neward, David Stutz, Geoff Shilling ISBN: 059600351X Publisher: O'Reilly & Associates Pub. Date: March, 2003 List Price(USD): $34.95 |
![]() |
Title: Essential .NET, Volume I: The Common Language Runtime by Don Box ISBN: 0201734117 Publisher: Addison-Wesley Pub Co Pub. Date: 04 November, 2002 List Price(USD): $49.99 |
![]() |
Title: Windows Forms Programming in C# by Chris Sells ISBN: 0321116208 Publisher: Addison-Wesley Pub Co Pub. Date: 29 August, 2003 List Price(USD): $49.99 |
![]() |
Title: Programming .NET Components by Juval Lowy ISBN: 0596003471 Publisher: O'Reilly & Associates Pub. Date: April, 2003 List Price(USD): $39.95 |
Thank you for visiting www.AnyBook4Less.com and enjoy your savings!
Copyright� 2001-2021 Send your comments