Int.popcount, Int.leading_zeros, Int.trailing_zeros emit native clz/ctz on amd64 and arm64, giving 2–3× speedup over prior pure-OCaml code. (#15018, open)
Nested record definitions allow inline record types in fields (type t = { a : { b : int } }), with projected type paths usable in annotations. (#14527, open)
Releases
OCaml 5.5.1: type-system fix for module-dependent functions, security fixes for integer overflows in Marshal and bytecode loading, runtime fixes, restored cloning on macOS. (release)
Fixes
A 5.5.0 regression on Windows caused a non-yielding thread to starve all other threads in its domain; the fix corrects the backup-thread handle check. Merged to 5.5 and trunk. (#15029, #15034)
Unix.select on Win32 returned wrong descriptors when a socket appeared in multiple fd lists or a descriptor was duplicated; the fix uses handle-set lookups. (#15025, merged)
The POWER backend rejected functions with frames exceeding 32 KB; offsets now split via addis/li helpers. (#15021, merged)
Float.round, Float.trunc, Float.ceil, Float.floor emit native instructions on arm64 and power instead of calling C. (#15017, merged)
Translcore no longer uses GADT local equations from partial matches to infer parameter kinds, fixing a miscompilation of conditionally-typed arguments. (#15035, open)