~/talk

Composing UNIX with Effect Handlers: A Case Study in Effect Handler Oriented Programming

Talkat ML 2021 · on Thursday, 2021-08-26· [software-architecture]
slides:none on file

Implements a miniature UNIX in Links using algebraic effect handlers: defines a write operation and a basic_io handler that returns the accumulated file as a string, a status handler modeling exit codes, a session manager layering dynamic binding for su, a nondeterminism handler for fork returning lists of answers, and an interrupt+write wrapper to force time‑sharing. Six runnable examples (example0–example5) demonstrate concatenated outputs, short‑circuiting on exit, user switching, forked processes, and finally interleaved output — the handlers compose and the examples work as claimed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Basic IO
  3. 6:39Premature Process Termination
  4. 9:45User Environments
  5. 12:09Substitute User Operations
  6. 15:27Multitasking
  7. 18:31Interrupt
  8. 21:49Injecting interrupts
~/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.