Parallelising your OCaml Code with Multicore OCaml
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
βhttps://watch.ocaml.org/w/rsinVPs9DQUYWwfszgbP8e