~/talk

AoT and the New Angular Compiler

Talkat AngularUP 2016 · on Thursday, 2016-11-17· [angular, compilers-and-language-design]
slides:none on file

Demonstrates using ngc and the Angular CLI with --prod --aot plus source-map-explorer to shrink a default app: bundle drops from ~300KB to 182KB and simulated mobile load time falls from ~5.5s to ~1.65s. Shows ngfactory output: a three-line template becomes ~100 lines of optimized DOM-creation and change-detection code, with compile-time type checks (example: multiplying a string title yields a TypeScript error). Notes renderer indirection still exists but AOT removes the runtime compiler and materially improves performance.

AI-written summary · about

  1. 0:00Speaker introduction
  2. 3:06Shrinking Angular bundle
  3. 11:21Ahead-of-time compilation
  4. 16:28Why Angular needs a compiler
  5. 20:27Inside the Angular compiler
  6. 27:45Renderer and performance
  7. 30:59Future of Angular performance
~/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.