Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W43.2026 · 19–25 OctOxCaml

Features

  • -extension omnidirectionality (eager or delayed scheduler) converts Tvars to Tivars during unification, deferring constraint resolution to a scheduler. Merged by @johnyob. #7540

  • break_ statements are proposed for for and while loops; typed as 'a, restricted to loop bodies. while true with break_ yields unit. Proposed by @jwshii. #7666

  • deref_ patterns take the address of a record field or tuple element inside a pattern match. Lambda translation raises for now. Proposed by @bn-peters. #7707

  • An experiment restricts let rec value recursion to five forms, eliminating cyclic non-mutable values such as let rec ones = 1 :: ones. Proposed by @spiessimon. #7617

  • vec512 layout and types are promoted to stable; AVX512 backend flags enable by default when configure detects support. A witness is required to obtain a vec512 value. Proposed by @TheNumbat. #7685

  • [@zero_alloc conditional] marks functions whose only allocations come from a function argument, enabling the backend to prove List.iter ~f:ignore non-allocating. Ongoing by @wrsturgeon. #7550

  • -frametable-sections and -jump-table-sections (require -function-sections) split per-unit tables into per-function sections so --gc-sections can drop them. Proposed by @lukemaurer. #7698 #7703

  • A standalone C implementation of structured symbol demangling is proposed for embedding in perf and llvm-symbolizer. A companion PR names compiler-generated closures so profiles aggregate across revisions. Proposed by @Svetlitski. #7641 #7659