~/talk

The Angular 2 Compiler

links:none on file
slides:none on file

Describes building an Angular 2 compiler that iterates from a DOM-cloning approach to generated view classes and server-side codegen, using document.createElement for fast DOM construction and an output AST to emit TypeScript/ES5. Benchmarks: deep-tree benchmark (512 components) shows ratios drop from ~5.7 (Angular 1) to 2.7 with hidden-class optimisations, to 1.5 with generated views; ahead-of-time compilation removes eval, cuts load time ~3x and minified gzip from 144KB to 49KB.

AI-written summary · about

  1. 0:00Introduction to the compiler
  2. 1:04Performance benchmarks
  3. 2:02Understanding compiler inputs
  4. 3:44Template parsing and AST
  5. 6:09Instantiating the DOM
  6. 9:11Change detection mechanism
  7. 12:25View structure optimization
  8. 15:34Code generation evolution
  9. 18:10Ahead-of-time compilation
  10. 20:15Compiler demo and future
  11. 23:23Conclusion and summary
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.