~/talk

Compiling Ember

Talkat EmberCamp Chicago 2019 · on Monday, 2019-09-16· [ember, compilers-and-language-design]
slides:none on file

Explains how Embroider implements a multi‑stage compiler that turns existing Ember apps into a v2 add-on format (RFC 507) then into plain JS/CSS/HTML and finally into optimized bundles (uses webpack today). Claims: without changing app code it enables lazy loading, code splitting and true pull‑based tree‑shaking. Stage one runs add‑on build hooks and synthesizes packages, stage two resolves component/template imports, stage three delegates bundling/optimization — compatible with current Ember CLI and already showing performance parity or improvement.

AI-written summary · about

  1. 0:00Start
  2. 1:15What Is a Compiler
  3. 2:47Input and Output
  4. 5:08A Self-Hosting Compiler
  5. 6:09What Compilers Can and CanNot Do
  6. 11:35The Implementers Trap
  7. 16:02Module Specifier
  8. 17:02How Module Syntax Is Designed
  9. 17:36Not Valid Javascript
  10. 18:36Dynamic Import
  11. 22:04Multi-Stage Compiler
  12. 31:30Vendor Assets
  13. 34:52Stage 3
  14. 37:40Route Based Code Splitting
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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.