Slides, speaker notes and runnable examples mentioned in this talk are available at: https://github.com/ocaml-multicore/ocaml2020-workshop-parallel
With the availability of multicore variants of the recent OCaml versions (4.10 and 4.11) that maintain backwards compatibility with the existing OCaml C-API there has been increasing interest in the wider OCaml community for parallelising existing OCaml code. From our experience with a range of programs, linear speedups on up to 24 cores are possible.
This presentation will take the attendees through the following steps aimed at developing parallel programs with Multicore OCaml: ∙ Installing the latest Multicore OCaml compiler ∙ Brief overview of the low-level API for parallel programming ∙ A tour of domainslib – a high-level parallel programming library for Multicore OCaml ∙ Common pitfalls when parallelising ∙ Tools for diagnosing Multicore OCaml performance