Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFeatures
- Optional polymorphic parameters are now supported in function signatures, e.g.
let f (?x: 'a. 'a -> 'a) () = (). Merged 2026-10-01. #14985 - Bytecode
.cmofiles now carry hints for immediate-value reads and variant-type tests, usable by downstream bytecode compilers such as wasm_of_ocaml. Merged 2026-10-02. #15122
Compatibility and Releases
Fixes
- The pattern-matching compiler no longer uses GADT equations from a single row to classify shared record fields as immediate, preventing unregistered GC roots. Merged 2026-09-30. #15114
- Three security fixes merged 2026-09-29:
Unix.map_fileoverflow guard (OSEC-2026-22),Str.string_partial_matchinvalid captured groups (OSEC-2026-21), andMarshaldemarshaling issues (OSEC-2026-23). #15112 #15113 #15115 Int64.of_float,Int64.to_float, andInt32/Nativeintequivalents now compile to native instructions instead of C calls, roughly doubling throughput on amd64. Merged 2026-09-29. #15084- s390x now permits unaligned memory accesses, eliminating byte-at-a-time sequences in
Bytes.get_int64and similar operations. Merged 2026-09-28. #15090