~/talk

Staging Effect Handlers for Modular Search

Talkat PEPM 2026 · 2026-01-11..01-17· [compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

Recasts monadic constraint programming as an algebraic effect handlers design where models are free‑monad effectful computations and solvers are handlers; implements composable search transformers as an effect and then uses multi-stage staging to fuse multiple handlers into a single generated handler. A naive staging pass cuts handler overhead dramatically: a 12‑queens setup with three transformers drops from ~30 seconds to under 3 seconds, showing the approach builds correct, solver‑agnostic search with large practical speedups.

AI-written summary · about

  1. 0:00Effect handlers intro
  2. 1:26What is constraint programming
  3. 3:53Embedding in functional langs
  4. 6:21Effectful constraint programming
  5. 8:52Solver-agnostic design
  6. 10:18Lifting solver monad
  7. 12:23Reducing model complexity
  8. 14:52Effect handlers for solving
  9. 16:17Search transformers first-class
  10. 18:48Managing state in transformers
  11. 21:20Compositional handler design
  12. 23:28Staging for performance
  13. 24:56Performance improvements
  14. 25:18Q&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.