~/talk

Empyrean Evaluation

Talkat BazelCon 2023 · 2023-10-24..10-25· [compilers-and-language-design]
links:none on file
slides:none on file

Skyframe is Bazel's incremental parallel evaluator, implemented as a framework of computations with a tiny Python toy and a real implementation of 15,000 lines of Java. Key behavior is the nonblocking restart model where a dependency lookup can return null to restart and the callee must yield, which caused quadratic refetching in naive code and repeated external repo downloads. Solutions include per-function persisted state via getState caching, explicit state machines, and heuristics to limit cache drops versus memory pressure; execution is now more parallelized across phases.

AI-written summary · about

  1. 0:00Welcome
  2. 2:31Build systems neglected
  3. 6:09Theory versus practice
  4. 8:39Skyframe in Bazel
  5. 10:49Python Skyframe
  6. 13:17Bazel internals
  7. 16:11Bazel phases fiction
  8. 18:39Skyframe computations
  9. 20:03Skyframe restarts
  10. 22:31Caching state restarts
  11. 25:03State machines functions
  12. 27:11Nested machines complexity
  13. 28:14Q&A
~/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.