Retrofitting a build system into a compiler
Summary
The article explores Lucas Ma's work on embedding effect-driven scheduling into the OCaml compiler to enable a long-lived compiler service. It describes advancing a build system to compile modules out of order, using Domain Local Storage and snapshotting to support parallel, multi-domain compilation, and the potential for bootstrapping OCaml. It highlights the move away from ocamldep and notes the practical benefits and remaining challenges.