~/talk

Exploring Elixir Project Re compilation

Talkat ElixirConf EU 2022 · 2022-06-09..06-10· [compilers-and-language-design]
links:none on file
slides:none on file

Explains how Elixir decides which .ex files recompile: runtime vs export dependency vs compile dependency, how cycles and “double” paths cause distant cascades, and how separating behaviors and macros into their own modules removes transient compile deps. Uses mix xref (graph, cycles, trace) to trace edges, shows extracting behavior/macro code reduces recompiled files from 42 to 2 and build time from ~4s to ~0.5s, and suggests CI checks to prevent regressions.

AI-written summary · about

  1. 0:0004:14 - Intro
  2. 4:1507:03 - Dependencies
  3. 7:0413:25 - Cycles
  4. 13:2617:02 - Double Dependencies
  5. 17:0318:17 - Key Discoveries
  6. 18:1827:57 - Export Dependencies
  7. 27:5830:20 - QnA
~/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.