~/talk

How does Hot Reload even work?

Talkat NDC Sydney 2022 · 2022-10-12..10-14· [dotnet, compilers-and-language-design]
slides:none on file

Explains that hot reload sends small delta compilations (IL + metadata + PDB) rather than full DLLs, with Roslyn computing what changed and emitting an ENC map/log in the PDB so the runtime can apply updates by token ordering, not by stable IDs; shows tools ILSpy and MDV to inspect tables and deltas, and demos generation 1/2 token remapping and method-body swaps. Notes runtime limits (Mono/Blazor WASM only supports method-body updates) and the hack that deleted methods are replaced with stubs that throw MissingMethodException.

AI-written summary · about

  1. 0:00Hot reload in .NET intro
  2. 1:05What .NET assemblies contain
  3. 12:45Hot reload model
  4. 17:17Delta compilation explained
  5. 26:55Demo: hot reload in action
  6. 35:47ENC log and map tables
  7. 41:52Runtime limits and root edits
  8. 51:38C# features blocking hot reload
  9. 59:31Modern runtime and Blazor Wasm
  10. 1:01:16Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.