Repository activity
40458 results across all weeks
Forbid `[%atomic.loc]` and mutable indices to polymorphic record fields
Atomic locations and mutable indices to polymorphic record fields are unsound, as they allow the fields to be filled with values that are not polymorphic.
Ryan Tjoa (@rtjoa)Freeze & shift dynamic tables
(wip)
Max Slater (@TheNumbat)Functional mode polymorphism
Integrates all the level-relation operations into type inference to support mode polymorphism. Mode polymorphic variables are functional, and can be printed behind a dedicated extension flag (see below).
ainageorgesFuse float-comparison tagging into a single operation (amd64)
Materializing a float comparison as a tagged boolean previously
Xavier Clerc (@xclerc)Generalize and generalize structure
Added the generalize and generalize_structure operations, which takes all mode variables above the current level and sets them to the general level.
ainageorgesGet rid of machine widths in `One_bit_fewer`
By definition, the width of fixed-width integers does not change depending on the target system.
Basile Clément (@bclement-ocp)Heap extension
This is a first cut at implementing "heap extensions". It adds this function to (the CAML_INTERNAL part of) the runtime API:
Nick Barnes (@NickBarnes)Improve argument_types_useful check
The argument_types_useful check is intended to improve compilation times by skipping speculative inlining if the argument types are not "useful".
Basile Clément (@bclement-ocp)Improve performance of debug info generation
Building on #5111, this PR improves the performance of the debug info generation by introducing additional caching. In particular, it generalizes caching to apply also to non-empty environments, avoiding performance cliffs for files that use shapes in non-empty environments.
Simon Spies (@spiessimon)Inheritable dynamics
You can now choose whether a dynamic binding is snapshotted in child stacks. Domains never inherit bindings, but both threads (excluding c threads that register themselves) and fibers do. When we create a fresh stack, we iterate the current stack's inheritable dynamics and push their current values onto the fresh binding table. Reading inheritable dynamics …
Max Slater (@TheNumbat)Instance type constructor arguments in typeopt
Yet another attempt at doing this without wrecking performance. This time, generalize the existing approach Typeopt takes for unboxed products to other types. Also, force optional arguments to be scannable in Typetexp since it's no longer caught by a later check.
dkalinichenko-jsLazy renaming during import
Basile Clément (@bclement-ocp)Lexical dynamic parents
(wip)
Max Slater (@TheNumbat)Lexical fiber parents
(wip)
Max Slater (@TheNumbat)Merlin for `5.4.0-ox4`
This PR upgrades Merlin for compiler version 5.4.0-ox4. This PR also includes a couple hygiene improvements that are disussed below.
Liam Stevenson (@liam923)Mode Variable Subsumption
This feature implements subsumption for polymorphic mode variables.
ainageorgesMode poly on for Jane checks
Mode poly perf testing.
julesjacobsMode variable levels
Support levels in the mode solver.
ainageorgesMove `Btype.hash_variant` to `Obj`
Backports the first commit of ocaml/ocaml#14939. The second commit from that PR can't be adopted until the system compiler is OCaml 5.6. Backporting this follows on from #6530, and removes the need for an OxCaml shim for the function's location.
David Allsopp (@dra27-js)Noalloc function force allocation to be local
We expect user to always have explicit [noalloc_strict]/[noalloc] annotation (rather than relying on mode solving), to avoid tricky dependency between different mode axes solving.
zhizhuoxin