~/talk

When magic meets multicore - OCaml and its elegant era of parallelism

Talkat Lambda World 2025 · 2025-10-23..10-24· [concurrency]
name:Carine M.
links:none on file
name:Sonja H.
links:none on file
slides:none on file

Merlin's type-checker is offloaded to a background domain using OCaml 5 domains and effect handlers, implementing early typing return, cancellation, and parallel pipeline computation; the prototype runs on an experimental branch, processes 2,400 samples, and reports a 41% overall speedup while a 55,000-line file produced an 8s query on a cold cache before the fix. Mutable state introduces data races mitigated by selective mutexing and caching, causing occasional slowdowns that require further investigation.

AI-written summary · about

  1. 0:00OCaml introduction
  2. 1:24OCaml versatility
  3. 3:09OCaml and Merlin demo
  4. 8:07Merlin’s language server
  5. 11:23Merlin bottlenecks
  6. 16:20Merlin caching
  7. 22:50Parallelism with early returns
  8. 27:08Cancellation with effects
  9. 32:46Mutable state challenges
  10. 35:35Optimization performance
  11. 37:17Conclusion
~/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.