On Oct 29, 2:38 pm, Creativ <GongXinr...@gmail.comwrote:
On Oct 29, 9:59 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
Overall, understanding what is going on underneath the hood is one reason.
Another is to understand enough to optimize your code. We ahve foudn some
rather inefficient code by examining IL before. Beyond that, I would state
that it is useful if you are writing compilers or similar tools.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
*************************************************
| Think outside the box!
|
*************************************************" Creativ" <GongXinr...@gmail.comwrote in message
news:11**********************@19g2000hsx.googlegro ups.com...
I'm wondering what's the benifit of learning MSIL. I can only think
about debugging. Can anyone give me some hints?- Hide quoted text -
- Show quoted text -
Can you please recommend me a good reading about how to write good-
performanced code?
I've skimmed the Inside MS IL Assembler. I don't think it's targetting
performance improvement.- Hide quoted text -
- Show quoted text -
I really enjoyed "Essential C#", liking both the author and publisher
(Michaelis / Addison Wesley). They mention several good patterns
within and often delve under the covers in helping avoid pitfalls.
This is a big question you ask so I'll just attack on area. Knowing
your data structures, how the work under the hood, strenghts /
weakneses of each, etc. is key to writting fast code. The deeper you
delve into data structures the better, goes with any framework (STL,
ATL, .NET, etc). E.g. you're probably aware favoring data structures
in System.Collections.Generic over System.Collections as of the 2.0
framework, thereby avoiding boxing / unboxing pitfalls (not to mention
gaining type safefy)... but i digress.
dave