Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Improved meet for naked immediates (is_int and get_tag)

    A first attempt to improve the meet when more than one Get_tag/Is_int type is involved.

    Vincent Laviron (@lthls)
  2. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Include Merlin binaries in the compiler install

    This PR is still far from being ready for review. I'm only creating it to get CI to run.

    Liam Stevenson (@liam923)
  3. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Include the Merlin libraries in the install

    Installs merlin-lib under lib/ocaml/merlin, published via lib/ocaml/META.merlin-lib. The vendored csexp is bundled as subpackage merlin-lib.merlin_csexp (renamed so the module cannot clash with a real csexp in downstream builds), and merlin_ocaml_index is made public.

    Liam Stevenson (@liam923)
  4. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Install dynamic scopes behind existing bindings

    Changes caml_dynamic_use_scope to install the scope at the bottom of the current fiber's binding stack instead of assuming the fiber has no bindings. This makes integration with the parallel/concurrent libraries easier.

    Max Slater (@TheNumbat)
  5. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    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-js
  6. IssueW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Investigate how close Simplify can be got to classic mode in terms of time

    @Ekdohibs: With #6626, compiling oxcaml, we move from 140s to 170s spent in flambda2, and from 487s to 507s total compilation time (the backend is a bit faster). This is +20% time in flambda2, and +4% in total compilation time. Most of the additional time is in simplify/other, so probably caused by the traversal of the term itself. This feels a bit too expen…

    Mark Shinwell (@mshinwell)
  7. IssueW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Investigate if we can turn off Lambda switcher

    Pauline Lam (@pauline-lam)
  8. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Jra.bitwise not

    James Rayman (@jra4)
  9. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Layout poly - merge fracture and eval

    This merges the slambda fracturing and eval passes into one slambda pass, which means there's no longer a slambda IR either. This is mostly motivated by simplicity, trying to accurately model evaluation order etc in slambda was hard and writing it as one pass is arguably easier than having it as two.

    Jack Rickard (@Skepfyr)
  10. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Make a small optimization not depend on debug info

    The in-place add to memory optimization here accidentally depends on whether the two references to the same location have the same debug info. This PR fixes that in two commits: The first shows the issue with assembly expect tests for two functions that look like they should get quite similar assembly, but don't. The second fixes this, restoring the optimiza…

    Chris Casinghino (@ccasin)
  11. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Make probe handlers return `#()` to avoid reaper issues

    [%probe] handlers were compiled as functions returning unit, and To_cmm_expr.translate_apply0 unconditionally materialised that result as (seq (probe ...) 1). This went wrong with the reaper. Since the probe handler is a direct call to known code whose result nobody reads, the reaper deletes the return value, giving the apply an empty return_arity and a para…

    ttebbi-janestreet
  12. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/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)
  13. IssueW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Merge LTO

    Nathanaëlle Courant (@Ekdohibs)
  14. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/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
  15. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    More refactoring of sexp printing functions

    This builds up on #4767 to use the new printing functions from Misc.Sexp to replace a lot of hand-written print functions.

    Guillaume Bury (@Gbury)
  16. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Moregen fast path

    Representative benchmarks hit the fast path 70% of the time (or more). Variants are not currently handled by the fast path, as the row machinery is complex. There is room to expand some of the kind and mode checks (like a "fast mode crossing" path); right now, we bail out.

    Zack Eisbach (@zackbach)
  17. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Move `any`-fields to stable

    Move any-kinded fields and arguments to stable (undoing #6173).

    Ryan Tjoa (@rtjoa)
  18. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Move merlin ci into build.yml

    This PR migrates the Merlin CI check into the build.yml workflow. Merlin is still built and tested in a separate CI check from the checks that build and test the compiler.

    Liam Stevenson (@liam923)
  19. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    No ocamlruni with prejudice

    Push disabling the runtime back to configure.ac, which means that ocamltest automatically skips any tests related to it.

    David Allsopp (@dra27-js)
  20. Pull requestW40.2026 · 28 Sep – 4 Octoxcaml/oxcaml

    Only use guard pages for currently-active stacks

    Enable millions of fibers without stack checks.

    Nick Barnes (@NickBarnes)