New Uchar.is_ascii, Uchar.ascii_to_char, Uchar.is_latin1, and Uchar.latin1_to_char clarify the boundary between char and Uchar.t. Merged. (#14981)
Optional arguments can now carry polymorphic types (e.g. ?f:('a. 'a -> 'a)), encoded as Tpoly under Tarrow. Open. (#14985)
Performance
Atomic.exchange and Atomic.compare_and_set emit native instructions (xchg, cmpxchg, amoswap, etc.) instead of C calls when the stored value is statically immediate. Benchmarks show 2–3× speedup on single-domain workloads. Open. (#14980)
Weak.Make is reimplemented with open-addressing and linear probing; alt-ergo-free runs 30% faster in one benchmark. Open. (#14979)
Fixes
The typechecker no longer assumes abstract types defined in the current module are injective, closing a soundness hole that permitted arbitrary type casts and segfaults. Merged. (#14982)
The let-rec size check now classifies generic arrays as dynamic size, preventing a segfault on 32-bit when a flat float array appears in a recursive binding. Merged. (#14993)
Weak.get_copy no longer shallow-duplicates continuations, which previously could cause segfaults when two copies shared a fiber. Open. (#14988)
Compatibility and Releases
ocamlc will enable -g by default, matching ocamllopt. This disables some lambda Simplif passes in bytecode but improves backtrace quality. Open. (#14971)