Thicket thicket
ocaml
REPOS 5

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

W22.2026 · 25–31 May

OxCaml repository summaries

2 active · 3 unchanged

Back to weekly digest

oxcaml/opam-repository

Permalink

Fixes

  • OxCaml opam-repository #48: ocaml-variants build failure in Dune projects (missing Makefile.config) resolved; issue closed 2026-05-28. Fix attributed to @Alizter. Issue

Compatibility and Releases

  • OxCaml opam-repository #51 (open): proposes updating ignore-opam.patch to match current Makefile.common-ox line numbers, required because Dune's internal patcher (ocaml/dune#14177) rejects stale hunks that GNU patch would fuzz past. PR

  • OxCaml opam-repository #51 discussion: @Alizter notes Dune does not enable fuzzing for opam-repository patches and offers to add it if maintainers prefer not to track line numbers. PR

  • OxCaml opam-repository #46 (open, updated 2026-05-28): v0.18~preview.130.100+614 is present on the dev branch; release to main is pending. Approximately 30 packages lack a release commit for that version. Issue

oxcaml/oxcaml

Permalink

Features

  • OxCaml variable tracing: adds -dvariable-availability to track which variables survive from typing to emitted debug info, classifying each loss as acceptable or a gap. #6158

  • OxCaml CU unloading: proposes runtime unloading of metaprogramming compilation units via mark/sweep over heap-shaped code blocks with back-pointers in .text and explicit code-pointer liveness at safepoints. #5960

  • OxCaml CFG merge functions: adds Cfg_merge_functions, an identical-code-folding pass behind -cfg-merge-functions that collapses equivalent function CFGs into tail-call thunks within a compilation unit. #6148

  • OxCaml idx_atomic: introduces ('a, 'b) idx_atomic, a block index for [@atomic] fields that emits atomic loads/stores and supports compare-and-swap. #6130

  • OxCaml any-kind record inference: creates sort variables for record fields of kind any in pattern matching, record creation, and functional update, accepting previously rejected programs. #6145

  • OxCaml CFG jump threading: adds a pre-register-allocation pass that folds comparisons into branch terminators and threads jumps through empty merge blocks. Reduces spills 0.26% and reloads 0.63% on the compiler. #6104

Fixes

  • OxCaml profile overhead: merged. Skips Profile.record_call when no profiling flag is active, making compilation 30–35% faster on workloads with many small functions. #6141

Compatibility and Releases

  • OxCaml C API regions: merged. Adds caml_region_begin/caml_region_end so C callbacks can establish stack-allocation regions for @ local arguments. #6142
3 repositories · no changes