~/talk

Demystifying Ahead-Of-Time compilation in Angular

Talkat NG-NL 2017 · on Thursday, 2017-03-16· [angular]
slides:none on file

Compares JIT vs AOT with concrete build steps and tooling: use ngc or the Angular CLI (or the webpack AOT plugin) to emit v8‑friendly code, run tree‑shaking/rollup and source‑map‑explorer to shrink bundles. Claims the template compiler can be ~45% of generated code and AOT cuts runtime boot/compile work (author measures roughly a ~50% smaller runtime compile cost: ~1s vs ~700ms in a simple app). Notes AOT requires statically analyzable code — export factory functions, avoid lambdas in module metadata and use public properties.

AI-written summary · about

  1. 0:00Intro
  2. 1:03Let me tell ya a Story...
  3. 2:47let's talk about Compilers
  4. 3:49I mean... Angular Template Compiler
  5. 7:21Bundle Size Performance Bootstrapping Security
  6. 14:06Oh! Also Tree- Shaking
  7. 17:40No More Dynamic Template Compilation
  8. 20:38Make your code Statically Analyzable...
~/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.