~/talk

Memo: an incremental computation library that powers Dune

Talkat OCaml 2022 · on Friday, 2022-09-16· [developer-experience]
links:none on file
links:none on file
slides:none on file

Memo is an OCaml incremental-computation library that powers Dune 3.0’s faster file-watching build mode, providing concurrency with fibers, dynamic dependency discovery, error deduplication with attached call stacks, and handling of non-determinism. It uses a proven incremental cycle detector (Bender et al.) but only adds edges when blocking occurs, yielding dramatic speedups: graphs reach tens of millions of nodes with examples of 100 million edges, cycle checks drop to near zero, and the system runs in production for over a year.

AI-written summary · about

  1. 0:00Introduction to Dune
  2. 1:58Build engine example
  3. 4:45Memo library features
  4. 8:40Performance challenges
  5. 12:28Cycle detection algorithm
  6. 14:44Future work and conclusion
~/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.