From 'dotnet run' to 'Hello World!'
summary
Walks through the actual startup work behind dotnet run to print Hello World, showing over 2.5 million lines in the core CLR repo, the GC condensed in a single ~36,000‑line file, and ~68 initialization steps the runtime runs before user code executes. Uses PerfView flame graphs and ClrMD plus the open source code to show most time hits EE startup, type loading, JIT and hosting API work (demonstrated live) and explains tiered compilation and why small apps pay heavy startup costs.
AI-written summary · about
chapters (7)
- 0:00Start
- 6:57Outline
- 7:42CoreCLR Repository
- 16:49Virtual Machine (VM)
- 19:38Hosting API
- 21:59Initialising the CLR
- 44:22Resources
related talks
01h 05mFrom 'dotnet run' to 'Hello World!'
01h 00mUnveiling .NET Secrets with the World's Smallest C# Program
53mSo you want to create your own .NET runtime?
01h 02mSo you want to create your own .NET runtime?
01h 01mHidden gems in .NET Core 3
01h 01mASP.NET Core Deep(er) Dive
50mWhy I'm Not Leaving .NET
56m.NET 5: runtimes
