CIL Programming: Under the Hood of .NET Review

CIL Programming: Under the Hood of .NET
Average Reviews:

(More customer reviews)
Are you looking to buy CIL Programming: Under the Hood of .NET? Here is the right place to find the great deals. we can offer discounts of up to 90% on CIL Programming: Under the Hood of .NET. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

CIL Programming: Under the Hood of .NET ReviewHas this ever happened to you... There's this new technology or programming language that you're dying to learn, but there are no books. Finally, someone writes a book, you get the book from the bookseller (Amazon), you open the book, and you thumb through the pages. Well, that's the way I felt about learning Microsoft IL for .NET. I really was keen about learning .NET's "assembly language" because throughout my career I found that having low level knowledge about how a system is put together is very, very useful. Now, I'm not suggesting that you stop everything you're doing and run out to learn CIL programming. However, I believe that if you want to be a serious .NET professional, learning CIL should definitely be on your To-Do list.
So what about Bock's Book: "CIL Programming: Under the Hood of .NET"? In a word - disappointing. Bock spends most of the book's first chapter entitled "Language Interoperability" on detailed discussion of programs written in a variety of languages. He's trying to make the point that the CLR allows programs written in different languages to freely interoperate. Duh? Why spend the better part of the book's opening talking about everything but CIL. There's even an Oberon (?) programming sample here.
The second and third chapters on ILASM Directives, and, CIL Opcodes, respectively, read like my weekend shopping lists. While it is true that programming books have to regurgitate all the nasty details of the programming language, the good books tell its readers how to internalize the information and describe useful ways of summarizing the information in one's mind. That is, the authors of the better books have figured out some rhyme and reason to the language and they share these insights with their readers. On the other hand, this is what I found in these two most important chapters of Bock's book: the more I read, the more questions I had. I wound up spending significant time on the NET trying to resolve questions that were raised in the material in these two chapters. Clearly, the author did not anticipate these questions.
The fourth chapter, "ILASM and CIL in Practice" is a decent discussion of a typical sample program in IL. It demonstrates some of the IL constructs and programming concerns discussed in the previous chapters.
Chapter 6 is interesting. Here the author talks about and contrasts the IL generated by various programming languages. Some of the VB.NET and C# exposés were eye-opening, but then Bock goes back to Oberon again.
The author ends off the book in chapters 7 and 8 with some very long and tedious samples. I got nothing from this. Chapter 9, the last in the book, is a two-pager on "CIL Tips".
So why do I give this book 3 stars?
1) The book includes Chapter 5, a well-written and interesting discussion about CIL Debugging.
2) Right now, Bock's book is one of three books that talk about CIL. It is the only book that is targeted directly at programming. Although John Gough's "Compiling for the .NET Common Language Runtime" is an excellent book, it is very specialized and targets would-be compiler authors. I didn't read the third book in the IL arena, Serge Lidin's "Inside Microsoft .NET IL Assembler", but I did thumb through it several times (you know what little that is worth): this book strikes me as being very difficult.
RECOMMENDATIONS:
If you need to learn IL Programming right now, buy Bock's book - read the second half of chapter 1, and read Chapters 2-5, maybe Chapter 6. If you have the time, money, and inclination, then buy and read Gough's book. You'll need a lot of time for Gough, but you will definitely learn.
If learning IL is not that pressing right now, I would wait to see if someone else releases a better book.CIL Programming: Under the Hood of .NET OverviewFor the most part, .NET developers use a high-level language, such as C# or VB .NET, to develop their systems. However, the core language of .NET is the Common Intermediate Language, or CIL. This language is the language of .NETdevelopers can use CIL to do whatever is allowed by the .NET specifications, which is not the case for C# and VB .NET. Although it is unlikely that the majority of .NET developers will create their assemblies in CIL, understanding how CIL works will give them a deep, language-independent insight into the core parts of .NET. Furthermore, such knowledge is essential for creating dynamic types, a powerful part of the .NET Framework.In CIL Programming: Under the Hood of .NET, Jason Bock covers the essentials of programming the CIL. First, Bock discusses the basics of what .NET assemblies are and how manifests fit into the picture. He then shows how to create assemblies in .NETincluding the ilasm directives and CIL opcodes, and how these are used to define assemblies, classes, field, methods, and method definitions. Bock also covers how C# and VB .NET and other non-MS languages emit CIL and how they differ. Finally, he reveals how developers can create dynamic assemblies at runtime via the Emitter classes.After reading CIL Programming: Under the Hood of .NET, developers will have a better understanding of the CIL and how to program directly into it. A must-have on every .NET developers desk!Jason Bock is consultant and instructor for Intertech-Inc. (a company devoted to delivering hands-on workshops for enterprise web developers and whose focus is the professional Java, XML, and .NET enterprise developer).He has worked on a number of business applications using a diverse set of substrates and languages such as C#, .NET, and Java. He is the author of ".NET Security" by Apress, and "Visual Basic 6 Win32 API Tutorial, and has written numerous articles on technical development issues associated with both VB and Java.Jason holds a B.A. and a Masters degree in Electrical Engineering from Marquette University.You can find out more about him at http://www.jasonbock.net

Want to learn more information about CIL Programming: Under the Hood of .NET?

>> Click Here to See All Customer Reviews & Ratings Now

0 comments:

Post a Comment