Features
-
Vox specification stack (6 PRs, closed 2026-08-14, moved to fork): introduces refinement types
t{ p }, an SMT-LIB solver layer with a z3 backend, aBigintmodule for specification arithmetic, and comonadic/monadic mode axes for totality, logicality, and erasure. All pieces are inert (no typing rules discharged yet); the stack establishes representation, substitution, and.cmiround-tripping. Stack #6796 · #6787 · #6788 · #6789 · #6790 · #6791 -
SSA intermediate representation between Cmm and CFG, controlled by
-use-ssa(temporarily on by default). A reducer framework supports SSA-to-SSA transforms; aCfg_comparevalidator checks register-equivalence against the legacy pipeline. Forced off under-llvm-backend. #5810 (open, updated 2026-08-14) -
Mode variable subsumption makes signature mode variables rigid during moregen, preventing a less mode-polymorphic implementation from being accepted against a more polymorphic signature (a prior soundness gap that caused
Partial_application_mode_mismatch_in_lambdaat runtime). Now a staticSignature mismatch. #6279 (open, updated 2026-08-17) -
Addressable kinds add an idempotent
addressableoperator to the kind system, distinguishing kinds whose boxed representation is a block (pointer-takeable) from tagged immediates. Enablesptr_ofonbits8 addressableboxes while rejectingint8#boxes. #6712 (open, updated 2026-08-13) -
Faulting safepoints replace compare-and-branch poll points with a double load through a
PROT_NONEtrigger page; a SIGSEGV handler rewrites the context into a GC-entry call. Saves 6–12 bytes per poll on AMD64; adds ~1.2 µs per triggered interrupt. Default where supported;--disable-faulting-safepointsopts out. #6551 (open, updated 2026-08-13) -
Heap extension API (
caml_add_extent) registers external memory as GC-managed blocks with a free callback; unloading of metaprogramming CUs treats each unloadable unit as a scannable heap region with explicit dependency edges, unloading code and data when unmarked at end of major cycle. #6248 · #5960 (both open, updated 2026-08-13) -
Match-in-match: umbrella issue #4405 closed 2026-08-13. New proposals opened 2026-08-10: remove the replay history by materialising let-bindings post-specialisation (#6742) and specialise continuations whose handler ends with an apply-cont to unblock match-in-match triggering (#6741).
-
Loop elimination experiment (stacked on the SSA IR): induction-variable finding, termination proof, and dead-IV proof eliminate empty
forloops entirely. Requires-cfg-merge-blocks. #5840 (open, updated 2026-08-12)