Continuing the Conversation on Micro-optimizations of .NET Applications
summary
A talk about micro-optimizations in .NET applications, comparing different C# compilers and JITs—including Roslyn and RyuJIT—and explaining what happens under the hood. It examines IL and assembly listings and explores interactions with modern CPU characteristics to show how small code and runtime differences affect performance.
AI-written summary · about
chapters (15)
- 0:00Micro-optimizations intro
- 1:52Compiler impact on perf
- 3:15String formatting allocs
- 5:02Boxing/unboxing issues
- 8:36Memory leaks with CWTable
- 12:35Cross-platform perf pitfalls
- 14:46Benchmarking fundamentals
- 18:17JIT compiler optimizations
- 23:44Influence on .NET Core
- 24:05Blittable types and marshaling
- 28:30Memory hierarchy and caching
- 31:18Cache-aware algorithm design
- 33:43Stack allocation in SharpDX
- 36:35Branch prediction techniques
- 41:38Summary
