Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This 20-minute conference talk from POPL 2025 presents DRFcaml, an innovative extension to OCaml's type system that guarantees data race freedom in multi-threaded programs while maintaining backward compatibility with existing sequential code. Explore how researchers from MPI-SWS, Jane Street, and Inria build upon Lorenzen et al.'s work by introducing new mode axes—contention and portability—to track data sharing between threads. Learn about the implementation of APIs for capsules and reader-writer locks that enable safe sharing of complex data structures with aliasing and mutable state. The presentation covers the formal system and its soundness proof built in the Iris program logic on the Rocq proof assistant. The research includes reusable artifacts available through Zenodo, making this an essential talk for anyone interested in type systems, concurrency, and formal verification in functional programming languages.