This blog has been silent for far too long. That’s because I’ve been heads-down on a side project for the last 10 months. I’d like to announce my latest technical book:
If you write managed code, you want this book. If you have friends who write managed code, they want this, even if they don’t know it yet.
Do you want your .NET code to have the absolute best performance it can? This book demystifies the CLR, teaching you how and why to write code with optimum performance. Learn critical lessons from a person who helped design and build one of the largest high-performance .NET systems in the world.
This book does not just teach you how the CLR works—it teaches you exactly what you need to do now to obtain the best performance today. It will expertly guide you through the nuts and bolts of extreme performance optimization in .NET, complete with in-depth examinations of CLR functionality, free tool recommendations and tutorials, useful anecdotes, and step-by-step guides to measure and improve performance.
Among the topics you will learn are how to:
- Choose what to measure and why
- Use many amazing tools, freely available, to solve problems quickly
- Understand the .NET garbage collector and its effect on your application
- Use effective coding patterns that lead to optimal garbage collection performance
- Diagnose common GC-related issues
- Reduce costs of JITting
- Use multiple threads sanely and effectively, avoiding synchronization problems
- Know which .NET features and APIs to use and which to avoid
- Use code generation to avoid performance problems
- Measure everything and expose hidden performance issues
- Instrument your program with performance counters and ETW events
- Use the latest and greatest .NET features
- Ensure your code can run on mobile devices without problems
- Build a performance-minded team
…and much more.
I will also be posting some blog entries with topics inspired by the book, but weren’t quite a good fit.
Check out my latest book, the essential, in-depth guide to performance for all .NET developers:
Writing High-Performance.NET Code, 2nd Edition by Ben Watson. Available for pre-order: