The Good, the Bad and the Surprising aspects of code compilation in .NET (C#)
summary
Explains how the .NET JIT compiler and C# compilation work and how method structure affects runtime performance. Covers techniques to optimize methods, how to inspect compiler-generated code, and examples of common compiler behaviors and mistakes that can hurt performance.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 7:18.NET compilation basics
- 12:36Conditionals and jumps
- 21:04Loops and performance
- 27:36Loop optimizations and exceptions
- 32:50Structs and memory
- 38:37Surprising struct behaviors
- 43:24Summary
related talks
40mHow RyuJIT Compiles Code
01h 00mWhat’s New in the JIT Compiler
01h 00mMetaprogramming for the masses
01h 00mC# Language Internals
52mPerformance features in C#
01h 04mTurbocharged: Writing High-Performance C# and .NET Code
58m.NET Core Internals and Optimizations
01h 05mFrom 'dotnet run' to 'Hello World!'
