Thicket thicket
ocaml
REPOS 5

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

W47.2024 · 18–24 NovOxCaml

Features

  • Flambda2 relational typing env (#3219): Open design proposal to replace the ad-hoc typing environment with an egglog-inspired deductive database using congruence closure and leapfrog triejoin. 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. Systematic insertion of this clearing instruction is under consideration. 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): Open proposal for weekly tracking of stdlib, compiler, and curated package compile times plus selected benchmark runtimes to detect regressions. Link