~/talk

Simpler User Interfaces with Capability-Passing

Talkat Scala Days 2026 · 2026-10-12..10-13· [frontend-architecture, scala]
slides:none on file

A simple terminal user interface framework is implemented in Scala 3 using capability‑passing: layout construction is a capability that makes the call tree become the layout tree vs event graph, and reactive nodes are reified as signals with a deliberate split between create vs observe signals capabilities. The implementation prevents bugs (components must be in the tree, signals can’t leak, signals can only be read in a reactive scope) and the demo failed on the train but the library compiles and enforces those guarantees.

AI-written summary · about

  1. 0:00Introduction to capability passing
  2. 1:52Challenges in user interfaces
  3. 4:23Reactive style in UIs
  4. 6:44What are capabilities?
  5. 9:53Capability passing explained
  6. 10:14UI capabilities in code
  7. 13:26Event handling with signals
  8. 17:22Type system benefits
  9. 20:38Capture checking and safety
  10. 22:09General principles beyond UIs
  11. 24:18Graph structures with capabilities
  12. 24:40Direct style programming
  13. 26:25Applications beyond UIs
  14. 26:45Summary and conclusions
  15. 27:28Q&A
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.