Writing Faster Managed Code: Know What Things Cost

Conclusion

Now you know (more or less) what managed code costs at the lowest level. You now have the basic understanding necessary to make smarter implementation trade-offs and write faster managed code.
We have seen that jitted managed code can be as “pedal to the metal” as native code. Your challenge is to code wisely and to chose wisely among the many rich and easy to use facilities in the Framework
There are settings where performance doesn’t matter, and settings where it is the most important feature of a product. Premature optimization is the root of all evil. But so is careless inattention to efficiency. You’re a professional, an artist, a craftsman. So be sure you know the cost of things. If you don’t know or even if you think you do—measure it—regularly.
As for the CLR team, we continue to work to provide a platform that is substantially more productive than native code and yet is faster than native code. Expect things to get better and better. Stay tuned.
Remember your promise.
Advertisements

Author: Protiguous

C# Software Developer, Father, and seeker of Truth.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s