Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Use compact DWARF forms for small constants, high PC offsets and entry PC

    Fourth in the series reducing the size cost of --enable-oxcaml-dwarf-on-compiler (on top of #6920). A byte-level audit of ocamlopt's linked DWARF showed that the biggest .debug_info cost was not the DIEs themselves but fixed 8-byte forms used for values that almost always fit in one byte:

    Mark Shinwell (@mshinwell)
  2. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Use run-length encoding for small object free lists

    This is a port of ocaml/ocaml#13616 to the OxCaml tree, which is needed to accurately account for work during sweeping (Sweeping already-free blocks should not count towards sweeping "work").

    Nick Barnes (@NickBarnes)
  3. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Use the findlib cli instead of linking against it

    This PR is an alternative for #6983. Instead of dropping findlib support, this PR migrates Merlin to using the findlib cli rather than linking against the findlib library. The motivation is to avoid needing to vendor findlib into the repo, which would otherwise be necessary in order to build Merlin with oxcaml and include it in the compiler distribution.

    Liam Stevenson (@liam923)
  4. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Vendor csexp

    Vendor csexp into the repo using git subtrees. Merlin depends on it, so this is necessary for putting Merlin in the compiler distribution.

    Liam Stevenson (@liam923)
  5. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Vendor yojson

    Vendor yojson into the repo using git subtrees. Merlin depends on it, so this is necessary for putting Merlin in the compiler distribution.

    Liam Stevenson (@liam923)
  6. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    Very large frames need stack checks even when no_stack_checks

    When stack-checks are disabled, we use a memory-protected "guard page" to catch stack overflow. However, functions with stack frames of more than one page can skip over this guard page and crash. So we should retain stack checks on such functions (this is a very few functions, generally huge and time-consuming, so another few instructions on function entry a…

    Nick Barnes (@NickBarnes)
  7. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    [DRAFT] First-class modalities: `t @@ m` as a type

    Poor man's first class modalities: an attempt to get 80% of the value at 20% of the cost (see known limitations below).

    julesjacobs
  8. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    [Ignore] For CI (rtjoa.scratch-on-52m6-lub)

    Ryan Tjoa (@rtjoa)
  9. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    [Ignore] For CI (warn-ghost)

    Not for review. Just taking this out of draft so it gets mirrored.

    Ryan Tjoa (@rtjoa)
  10. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    [WIP] First-class modalities (bad)

    dkalinichenko-js
  11. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    [arm64] runtime: skip the atomic-RMW fences when the RMW runs as an LSE atomic

    On AArch64 the acquire/release fences Note [MM] places around the atomic

    Sebastian Pop (@sebpop)
  12. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    `[@@or_null]` gadts

    Support [@@or_null] GADTs. Also, fix a bug with a missing partial match warning for [@@or_null].

    dkalinichenko-js
  13. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    add ocamllsp to nativeBuildInputs

    This way a shell environment from nix provides the LSP.

    Gavin Gray (@gavinleroy)
  14. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    arm64 binary emitter: carry data-relocation addends in JIT mode

    The JIT relocation applier overwrites the data slot with the computed value, so addends stored only in the data bytes on macOS, or dropped on ELF, are lost. When emitting for the JIT, record the addend in the relocation itself; the for-JIT resolver already applies relocation-carried addends. Object emission is unchanged.

    Mark Shinwell (@mshinwell)
  15. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    blambda: fix double-rounding bugs

    Fixes a few double-rounding bugs in blambda using runtime functions, which did not exist when the code was created (caml_float32_to_int64_bytecode and caml_float32_of_int64_bytecode). Adds a regression test.

    hwasilewskijs
  16. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    ci: temporarily instrument opam setup to diagnose fetch failures

    "Set up Opam" began failing en masse on 2026-09-02 at ~09:24 UTC, always in opam update fetching the default repository. opam captures git's stderr into its own logs, so the real error never reaches the Actions log -- we only see "git fetch -q exited with code 128" or "Branch HEAD not found" (the latter being opam's fallback message after a failed fetch rath…

    Jack Rickard (@Skepfyr)
  17. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    cost_metrics: include size of infix headers in sets of closures

    On top of #6991.

    Nathanaëlle Courant (@Ekdohibs)
  18. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    cost_metrics: replace [params_arity] with [function_slot_size]

    I think we already compute the code_size correctly since I don't see how a tupled function could have arity <= 1, but this seems cleaner.

    Nathanaëlle Courant (@Ekdohibs)
  19. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    datalog: Filters have "any" cardinality

    This ensures that using filters does not break the early exit from loops in queries such as:

    Basile Clément (@bclement-ocp)
  20. Pull requestW36.2026 · 31 Aug – 6 Sepoxcaml/oxcaml

    fix: allocate an extra word for `rec` extensible variants with large inline records

    @rtjoa: Nice catch!

    Will Sturgeon (@wrsturgeon)