.NET: AOT in 2022
summary
The talk explains Ahead-of-Time (AOT) compilation in modern .NET, focusing on Crossgen2 as the primary AOT tool and contrasting it with historical options like Ngen and CoreRT. It describes how JIT compilation enables cross-platform apps but can hurt startup performance, and it discusses the trade-offs of AOT—how precompiling code can reduce runtime compilation cost but is not a universal performance silver bullet.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:09What is AOT compilation
- 3:13Why use AOT compilation
- 7:07Measuring JIT time
- 12:49ReadyToRun and crossgen2
- 23:46Optimizing artifact size
- 24:07AOT for Rider startup
- 39:35Rider's AOT journey
- 45:44Tools for ReadyToRun
- 46:05NativeAOT overview
- 50:19Preparing apps for NativeAOT
- 53:11Size and performance benchmarks
- 56:52NativeAOT future
- 59:02Resources
