Writing a DSL for high performance parallel programming in OxCaml
Summary
This article from Jane Street details Sai Konkimalla's internship project: building a domain-specific language (DSL) for SIMD-based high-performance parallel programming in OxCaml. It covers SPMD concepts, runtime JIT compilation via OxCaml metaprogramming, and an explicit IR designed to ease optimization and vectorization, with concrete code examples and benchmarks. The piece also discusses the front end DAG, ANF-based IR, and validation efforts.