Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

June 2026

Monthly story not yet available.

W26.2026 · 22–28 JunOxCaml

Features

  • AVX512 SIMD backend (experimental, open PRs). Three PRs add 512-bit ZMM/K mask registers, EVEX encoding, and basic vector operations. Gated behind simd_alpha; disabled by default. #6293, #6294, #6339

  • Allocation mode axis (merged). A new Allocation mode axis forces closures containing heap allocation to alloc mode. A follow-up PR detects all allocation sites, distinguishing stack from heap. #6269, #6319

  • Functional mode polymorphism (ongoing). Integrates level-relation operations into type inference so mode variables are polymorphic. Controlled by -extension mode_polymorphism_alpha. #5483

Fixes

  • Zero-alloc unsoundness with never_returns_normally (open issue). [@zero_alloc assume never_returns_normally] on an inlined function that raises makes the checker accept allocating code in the caller. [@zero_alloc assume] alone is also unsound. #6297

  • Stack-check SIMD save (open PR). The inserted Stack_check instruction received an empty live set, so the realloc trailer omitted xmm/ymm/zmm save. Fix selects the correct _sse/_avx/_avx512 variant. #6337

Compatibility and Releases

  • Typing-Recovery integrated into the type checker (merged). Ported from Merlin to reduce divergence between the two type checkers. Reviewed by @trefis and @Octachron on the ocaml/ocaml side. #6366

  • Inlining attribute semantics redesign (proposal). Proposes splitting [@inline] into a four-level hierarchy (always/available/hint/never) plus local variants, fixing interaction with [@inlined]. #6312