Thicket thicket
ocaml
REPOS 1

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

W47.2024 · 18–24 Novoxcaml/oxcaml

Features

  • Flambda2 relational typing env (#3219): Proposes replacing the ad-hoc typing environment with an egglog-inspired deductive database using congruence closure and leapfrog triejoin for order-independent joins. Open design proposal; supports generic abstract domains and incremental peephole rewrites. Link

  • Flambda2 code generation (#3293): A pxor instruction before cvtsi2sdq eliminates a false register dependency, raising IPC from ~0.5 to ~3.5 in a tight float loop. The team considers adding this clearing instruction systematically. Link

Fixes

  • Flambda2 join performance (#3300): Environment joining at -O2 and above accounts for up to 30% of compilation time, with rare outliers at 60%. Tracked alongside the egglog-inspired join rework in #3219. Link

Compatibility and Releases

  • Flambda2 performance tracking (#3299): Proposes weekly tracking of stdlib, compiler, and curated package compile times plus selected benchmark runtimes to detect regressions. Open proposal. Link