Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `ocamlopt -Oclassic` crashes on a `float#` field read in an unreachable match arm

    Program (repro/prog.ml, LLM-shrunk from original/)

    Alperen Keleş (@alpaylan)
  2. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `ocamlopt -Oclassic` crashes on a division by constant zero inside a `try`

    Program (repro/prog.ml)

    Alperen Keleş (@alpaylan)
  3. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    add `[@zero_alloc conditional]` to check that every allocation comes from calling an argument

    Functions like List.iter, which don't allocate themselves but take callbacks that may allocate, are [@zero_alloc conditional]. Also, the backend checker can now prove that e.g. List.iter ~f:ignore is non-allocating, even without conditional.

    Will Sturgeon (@wrsturgeon)
  4. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    add break statements to loops

    Add support for break_ statements inside for and while loops. Notes:

    jwshii
  5. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    allow `caml_apply*` in conditional zero-alloc reasoning

    Will Sturgeon (@wrsturgeon)
  6. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    allow zero-alloc backend to reason about call sites whose callees are conditionally nonallocating

    Will Sturgeon (@wrsturgeon)
  7. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    amd64: add -align-loops to 16-byte-align loop headers

    Emit ".align 16" (nop fill) before loop header labels, so that small hot loop bodies do not straddle a 64-byte cache line boundary. AMD Zen 4 can only fetch from a single 64-byte cache line per cycle, so a 16-byte loop body crossing a 64B line runs at ~2 cycles/iteration vs ~1 when contained, making unrelated code motion flip hot loops between fast and slow …

    Jacob Van Buren (@jvanburen)
  8. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Add heterogenous maps of variables

    Stack created with GitHub Stacks CLI • Give Feedback 💬

    Basile Clément (@bclement-ocp)
  9. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Allow arbitrary values in tables

    This functionality is not used yet (outside of a test), but is necessary for some planned performance improvements in the modelling part of the reaper.

    Basile Clément (@bclement-ocp)
  10. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Allow binding variables to result of function calls

    Basile Clément (@bclement-ocp)
  11. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Automatically introduce copies

    This PR adds the ability to transform a rule of the form:

    Basile Clément (@bclement-ocp)
  12. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Delay planning until the schedule is actually run

    So that we don't pay the cost for the reaper on all invocations of ocamlopt.

    Basile Clément (@bclement-ocp)
  13. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Explicit separation of existential variables

    The current implementation of existential variables is a bit dangerous

    Basile Clément (@bclement-ocp)
  14. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Improved stats for rules

    The statistics are now embedded directly in the rule executor, ensuring zero-overhead (there is a bit more code in the executor's run function, but this should just cause a slightly larger jump table) when stats are disabled.

    Basile Clément (@bclement-ocp)
  15. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Improved stats for rules

    The statistics are now embedded directly in the rule executor, ensuring zero-overhead (there is a bit more code in the executor's run function, but this should just cause a slightly larger jump table) when stats are disabled.

    Basile Clément (@bclement-ocp)
  16. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: More robust and general computation of existentials

    The existing computation of existential variables is limited to

    Basile Clément (@bclement-ocp)
  17. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    datalog: Only evaluate rules for tables that were actually updated

    Currently we compute the datalog schedule on a per-rule basis: each rule is evaluated for all the seminaive combination of its input tables. This means that we are doing unnecessary busywork for rules that have an empty diff for all their input tables.

    Basile Clément (@bclement-ocp)
  18. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    feat(typing): add a `omnidirectional` language extension

    Description

    Alistair (@johnyob)
  19. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    feat(typing): omnidirectional mode crossing (lazy defaulting)

    Alistair (@johnyob)
  20. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    feat(typing): schedulers, ivars and `Tivar`s for omnidirectionality

    Description

    Alistair (@johnyob)