Thicket thicket
ocaml
REPOS 5

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

W18.2025 · 28 Apr – 4 MayOxCaml

Features

  • OxCaml flambda2 (PR #3937): Restores phantom binding generation in the backend; restructures the Name_mode lattice into a linear ordering. Open, not yet merged.
  • OxCaml flambda2 (PR #3954): Changes array, string, bytes, and bigarray indexing to Naked_nativeint; length operations return Naked_immediate. Open, not yet merged.
  • OxCaml runtime (issue #3956): Proposes replacing timing hooks to address non-reentrancy in multi-domain programs, suggesting migration to the runtime-events mechanism. Open.

Compatibility

  • alcotest 1.9.0 (with-extensions): Fails to compile under OCaml 5.2.0+flambda2 with a scoping error and a Printexc.register_printer deprecation. Open since 2025-04-30. (#41)
  • utop (with-extensions): Fails to compile due to a Parsetree.function_constraint type change and a non-exhaustive pattern match on Misplaced_attribute. Open since 2025-04-30. (#39)
  • opam switch (with-extensions): opam switch create . fails when a dune-project file exists in the working directory; dune's upward root search selects an incompatible language version. Open since 2025-04-30. (#42)

Fixes

  • ocaml-intrinsics-kernel (with-extensions): aarch64 build fails on unrecognized caml_int_popcnt_untagged_to_untagged builtins. A temporary fix was pushed; the permanent fix lands with the next compiler upgrade. (#40)
  • topkg (with-extensions): Build failure from a @@ portable attribute mismatch on String.trim between interface and implementation. Fixed on the with-extensions branch. (#38)
  • OxCaml flambda2 (issue #3914): Equality via exhaustive pattern-matching compiles to a slow jump-table dispatch. A discriminant-function workaround is discussed; match-in-match heuristics work is referenced. Open.