Data Driven UIs, Incrementally
summary
Claims that an OCaml library called Incremental (OCaml) records dependency graphs to update only affected computations, and that the same code runs server-side and compiles to JavaScript to drive DOM updates. Implements symmetric diffs over persistent maps, plus split/join primitives and an inker_map that streams per-key incrementals, enabling responsive tables of 100,000 rows that stay zippy. Shows diff and patch as the practical bridge between functional data structures and efficient incremental UIs.
AI-written summary · about
chapters (14)
- 0:00Intro
- 5:01OhCamel
- 5:40Basic Approach
- 8:40Incremental Computation
- 12:57Incremental
- 14:39Map
- 17:55Bind
- 21:21Incremental Map
- 24:18Symmetric Diff
- 26:19DiffMap
- 28:31Incremental Pipeline
- 29:19Graph Structure
- 31:05Split and Join
- 33:36Key Observations
related talks
26mStateful Differential Operators for Incremental Computing
32mElectric Clojure Differential Dataflow for UI (KEYNOTE)
37mVisualizing Persistent Data Structures
28mPersistent data structures - good for UI
34mFunctional UIs and Unidirectional Dataflow
29mScalable Spreadsheet-driven End-User Applications with Incremental Computation
28mElectric Clojure: Differential Dataflow for UI
18mUIs as Values
