~/talk

JIT and AOT in the CLR

links:none on file
slides:none on file

Explains concrete CLR choices: first-gen ngen/engine produces Windows-only PE-style native DLLs, second-gen crossgen embeds native code into assemblies and supports servicing, and a planned third-gen (TVD) targets portable, off-machine generation and single-file deployment. Introduces tiered compilation (quick JIT then optimized JIT) with heuristics (100 ms idle → steady state; queue threshold ≈30). Reports: Hello World loads ~4,000 methods; JIT ≈7% higher throughput vs crossgen in benchmarks; aggressive AOT prototype shows ~50% improvement and a footprint as low as 400 KB.

AI-written summary · about

  1. 0:00Intro
  2. 2:12What happens at startup?
  3. 3:41CLR design philosopy
  4. 6:37Design decision points for AOT tech
  5. 9:09First Generation AOT - NGEN
  6. 11:31What is being persisted by NGEN.exe?
  7. 14:10Taming the size
  8. 17:12Where do these AOT images live?
  9. 19:34Elevated Service Task to deal with servicing
  10. 21:03Second Generation AOT - CrossGen
  11. 28:03Simple Hello World WebApi sample
  12. 34:10Tiered Compilation
  13. 35:33Heuristic of the tiering
  14. 36:33Startup-phase behavior
  15. 37:57How to detect startup phase
  16. 39:58Measure again
  17. 44:15Recap and future
  18. 46:07Future of JIT
  19. 47:58Our experiment - CoreRT
~/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.