~/talk

Designing interrupts for ML and OCaml

Talkat ML 2024 · on Friday, 2024-09-06· [compilers-and-language-design]
links:none on file
name:Leo White
links:none on file
links:none on file
slides:none on file

Proposes a concrete design for OCaml asynchronous exceptions that introduces a new exception kind separate from ordinary catchable exceptions, plus a distinction between raising and non‑raising asynchronous events. Provides a prototype masking prototype (5 years old) and resource‑management combinators to avoid invalid state on interrupts, notes compatibility constraints with multicore, C stack callbacks and JS/WASM hosts, and recommends auditing the standard library and migrating toward panic or checked exception semantics.

AI-written summary · about

  1. 0:00Welcome
  2. 0:23Interrupts in ML and OCaml
  3. 3:39Motivations for interrupts
  4. 7:36Current interrupt approaches
  5. 11:07Errors versus exceptions
  6. 13:15Structured interrupts in ML
  7. 15:42OCaml interrupt requirements
  8. 18:39Prototype and future work
  9. 20:10Research directions
  10. 21:36Q&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.