Explore advanced memory management techniques in .NET Framework through this in-depth conference talk. Delve into the intricacies of value and reference types, challenging conventional wisdom about their placement in memory. Learn how to allocate memory manually using TypedReferences, discover techniques for placing reference types on the stack, and implement a generic List that outperforms the default .NET Framework implementation. Gain insights into creating custom memory allocators with tailored fragmentation strategies, and uncover methods to override the platform's new keyword for alternative allocation approaches. Analyze memory dumps using WinDBG, dynamically emit IL code, and generate x86 machine code at runtime to enhance your understanding of low-level memory operations in .NET.
Overview
Syllabus
Manual memory management in .NET Framework - Adam Furmanek
Taught by
NDC Conferences