~/talk

Electric Clojure: Differential Dataflow for UI

Talkat reClojure 2025 · on Monday, 2025-05-26· [frontend-architecture, distributed-systems]
slides:none on file

Electric compiles a unified Clojure/ClojureScript program (example: a 12-line program two‑clocks demo) into a client/server DAG with websocket crossings, running server code on the JVM and client code in CLJS. The compiler generates reactive missionary signals, eliminates request‑waterfalls by streaming server recursion synchronously, and performs automatic resource disposal and interrupting slow queries via offloaded threads. Differential dataflow produces diffs-on-the-wire for backpressure and virtual scroll windows, avoids a virtual DOM (no virtual DOM), and the demos (including a 40x robot playback) work as advertised.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Overview
  3. 1:00Two Clocks
  4. 3:40Simple Example
  5. 5:23Durtree Example
  6. 9:28How does this scale
  7. 10:50Disposal
  8. 12:43Clock
  9. 13:23Query Cancellation
  10. 16:45Lambda
  11. 17:40Tudo MVC
  12. 19:50Differential Dataflow
  13. 21:55Back Pressure
  14. 24:10Infinite Scroll
  15. 26:25Why Electric
~/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.