Thicket thicket
ocaml
REPOS 5

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

W34.2025 · 18–24 Augoxcaml/oxcaml

Features

OxCaml shrink wrapping: merged 2025-08-22. Moves the function prologue as late as possible in the CFG, reducing emitted epilogues. Enabled via -cfg-prologue-shrink-wrap. #4544

OxCaml prologue validation: merged 2025-08-20. Adds a dataflow analysis checking prologue/epilogue invariants on every execution path, behind -cfg-prologue-validate. #4521

OxCaml LLVM backend: a chain of five PRs (#4476–#4510) adds exception handling, tail calls, allocation, float ops, and switches to a new LLVM codegen path. All remain open during the interval; the author notes a consolidated rework is pending.

OxCaml DWARF dials: opened 2025-08-18. Adds -gdwarf-config-shape-reduce-depth, -gdwarf-config-max-cms-files-per-unit, and a -dwarf-fidelity preset flag for tuning debug-info effort. #4535

OxCaml Atomic.t: merged 2025-08-21. Redefines 'a Atomic.t as a record with a single mutable atomic field, enabling [%atomic.loc t.contents]. #4551

Fixes

OxCaml runtime GC: merged 2025-08-25. Replaces the unconditional minor GC before large array writes with a heuristic: GC only if writes would exceed 10% of the remembered set. #4537

OxCaml match-in-match: merged 2025-08-22. Loosens a Flambda2 join assertion broken by continuation specialization leaking lifted symbols into specialized environments. #4560

Compatibility and Releases

OxCaml baremetal: discussion active during the interval. @avsm states the runtime must settle first; a libOS layer such as Unikraft is suggested as a path toward microkernel boot on x86_64, aarch64, and riscv64. #4504