OxCaml covers the compiler extensions and their supporting tools and packages.
OxCaml repository summaries
2 active · 3 unchanged
oxcaml/opam-repository
PermalinkFixes
- OxCaml opam-repository #48:
ocaml-variantsbuild failure in Dune projects (missingMakefile.config) resolved; issue closed 2026-05-28. Fix attributed to @Alizter. Issue
Compatibility and Releases
-
OxCaml opam-repository #51 (open): proposes updating
ignore-opam.patchto match currentMakefile.common-oxline numbers, required because Dune's internal patcher (ocaml/dune#14177) rejects stale hunks that GNUpatchwould 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
devbranch; release tomainis pending. Approximately 30 packages lack a release commit for that version. Issue
oxcaml/oxcaml
PermalinkFeatures
-
OxCaml variable tracing: adds
-dvariable-availabilityto 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
.textand explicit code-pointer liveness at safepoints. #5960 -
OxCaml CFG merge functions: adds
Cfg_merge_functions, an identical-code-folding pass behind-cfg-merge-functionsthat 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
anyin 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_callwhen 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_endso C callbacks can establish stack-allocation regions for@ localarguments. #6142