Features
-
Wildcards in simple and module expressions now produce
Pexp_hole/Pmod_holeparsetree nodes instead of a parse error, enabling ppx transforms to operate on them. #15051, merged. -
Int.leading_zerosandInt.trailing_zeroslower to singleclz/ctzinstructions on amd64 and arm64; measured 2–3× speedup over trunk. #15018, open. -
Int64.of_float,Int64.to_floatand Int32/Nativeint equivalents compile toCintoffloat/Cfloatofintinstead of C calls; 1.3–2× faster on amd64, arm64, POWER10, s390x. #15084, open.
Fixes
-
Deadcode elimination no longer removes atomic loads with discarded results, which act as memory-ordering fences. Backported to 5.5. #15045, merged.
-
A raising
decodefunction inRuntime_events.read_pollno longer leavescursor_in_pollset; the cursor remains usable. #15075, merged. -
Warning 16 (unerasable optional argument) no longer fires when the return type is a type variable, restoring CPS-style combinators with optional arguments. #14671, merged.
Compatibility
-
with module typenow binds tighter:T with module type T = T -> Tparses asT with module type T = (T -> T). Code relying on the old grouping fails to compile. #14978, merged. -
ocamldebugREQ_GET_HEADERnow transmits full 64-bit object headers instead of clamping to 32 bits, fixing truncation of array sizes above 2²². #15022, merged.