Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Keep functions specialisable after lambda lifting

    The reaper lambda-lifts closures that do not escape: their value slots

    Mark Shinwell (@mshinwell)
  2. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Kind-template module coercions

    Adds kind template coercions to the module coercions.

    Jakub Bachurski (@jbachurski)
  3. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    LTO Prototype: Fix a test that breaks on some CI workflows

    Some of the CI jobs set dump-dir=$GITHUB_WORKSPACE/_profile_csv, and a test was relying on dumps going to the current directory. This change makes it read the stderr instead.

    Miriam Vellacott (@mirivella)
  4. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    LTO Prototype: Fix a test that breaks on some CI workflows

    Some of the CI jobs set dump-dir=$GITHUB_WORKSPACE/_profile_csv, and a test was relying on dumps going to the current directory. This change makes it read the stderr instead.

    Miriam Vellacott (@mirivella)
  5. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    LTO prototype

    [DRAFT] WIP prototype not ready for review yet

    Simon Spies (@spiessimon)
  6. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    LTO solution file with file sections

    This PR shards the LTO solution file by compilation unit and then puts the different shards into different file sections by compilation unit. It is a backport of mirivella#2.

    Simon Spies (@spiessimon)
  7. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Link time optimisation

    Not ready for merge.

    Miriam Vellacott (@mirivella)
  8. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Load .reaped.cmx files during -reaper-rebuild

    When we read the .cmx files of our dependencies during -reaper-rebuild, we want to get the .reaped.cmx version, not the plain .cmx version. Not being able to find this file is a hard error because we might have already decided to inline functions from that unit.

    Miriam Vellacott (@mirivella)
  9. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Log mutations in newvar_below

    Solver.newvar_below obj m might make mutations to m, such as adding a vlower bound to it. Currently these changes are not logged, under the assumption that newvar_below never fails. While this assumption is correct, explicit snapshots and backtracks might still need to revert those changes. Otherwise, we may observe a leak in code such as:

    ainageorges
  10. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Machtype checking

    Adds another pass during cmm_invariants that traverses Cmm expressions and makes sure the machtypes of inputs and outputs of each operation are consistent with eachother. For now, this machtype-checking pass is toggled with a separate flag (-dcmm-check-machtypes, default enabled), but it can be folded into -dcmm-invariants when we consider the machtype check…

    James Rayman (@jra4)
  11. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Make DWARF-5 output selectable and functional via -gdwarf-version

    Fifth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6922). The DWARF byte audit showed .debug_loc as the largest remaining section (15.2 MB in ocamlopt's dSYM), 81% of it being DWARF-4's 16-byte absolute address pairs — exactly what DWARF-5's indexed location lists were designed to fix.

    Mark Shinwell (@mshinwell)
  12. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Make `box` invariant

    The box type is currently covariant, but this is unsound, as a mutable record 'a t has a covariant unboxed version 'a t#, and 'a t# box = 'a t, allowing us to bypass the invariance of 'a t:

    Ryan Tjoa (@rtjoa)
  13. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Make externality a "secret" mode axis

    Instead of hardcoding externality as a special-cased non-modal axis, make it a regular modal axis. Hide it and prevent users from writing annotations for externality modes and modalities, allowing them in mode-crossing only.

    dkalinichenko-js
  14. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Make the local iarray functions zero-alloc compatible

    Wraps local IArray functions that are clearly meant to be local with [@zero_alloc assume] much like #6147 does

    ericlovesmath (@ericlovesmath)
  15. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Mark `external/merlin/upstream/ocaml_flambda` as linguist-generated

    These files are generated by the external/merlin/scripts/import-ocaml-source.sh script, and the Merlin CI check verifies that they're in line, so there's no need to review them. Marking them as linguist-generated will make GitHub collapse them by default when reviewing. Unfortunately, there doesn't seem to be a stronger way to tell GitHub to ignore review on…

    Liam Stevenson (@liam923)
  16. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Measure the speed of marking, sweeping and compaction

    We often discuss the speed of GC sweeping, or marking, or compaction. This test uses the runtime events system to measure it. When run automatically as part of the test suite, it uses a relatively small heap and fails if any of the speeds are catastrophically bad. If you run it manually from the shell you can set the heap size and run duration, and it report…

    Nick Barnes (@NickBarnes)
  17. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Merge switches to same destination with many arguments

    This PR extends the existing mechanism for simplifying switches where all the arms have the same destination and a single argument to handle switches where all the arms have the same destination without restriction on the number of arguments.

    Basile Clément (@bclement-ocp)
  18. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Merge the version of main before calling convention changes into the LTO branch

    This merges all of main up to (excluding) the commit where we move calling conventions changes to the LTO branch. The conflict resolutions are relatively straightforward.

    Miriam Vellacott (@mirivella)
  19. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Mixed linking with mode polymorphism

    Units compiled without -extension mode_polymorphism_alpha can consume cmis compiled with it. Mode-polymorphic signatures carry generic-level mode variables on their arrows; each use instantiates them. instantiate previously copied them to current_level, violating the invariant that, without the extension, typedtree alloc/return modes are constants or level-0…

    ainageorges
  20. Pull requestW37.2026 · 7–13 Sepoxcaml/oxcaml

    Mode Polymorphism Parsing

    This PR adds a parser for mode polymorphism. In function types, argument and result mode annotations may now be mode variables ('m) or bounds ([< ... > ...]):

    ainageorges