Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Improve recursive module usage warnings more

    This PR attempts to fix the remaining usage warnings described in #9393. I think that this fix is probably not correct. It changes an aspect of recursive module checking whose purpose I do not understand. However, since it does not cause any of our tests to fail, I hope that either someone will either tell me that this PR is fine or help me to produce a test…

    Leo White (@lpw25)
  2. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Improve recursive module usage warnings more again

    This PR tries to fix the same issues as #9394. Instead of changing how recursive modules are type checked it simply makes sure that the Uid.ts created when approximating module types are re-used when those module types are checked properly.

    Leo White (@lpw25)
  3. IssueW39.2026 · 21–27 Sepocaml/ocaml

    Module type with an alias to functor argument crash

    Generally, inside the signature of the body of a functor, aliases involving the functor's argument are not allowed (for soundness reasons). However, they seems to be authorized inside module type components (which seems strange to me). If we use this to leak an alias to an unamed argument, we get a fatal error.

    Clément Blaudeau (@clementblaudeau)
  4. IssueW39.2026 · 21–27 Sepocaml/ocaml

    Mutually-recursive functions and slowdowns in Coccinelle

    Hello,

    Victor Gambier (@vgambier)
  5. IssueW39.2026 · 21–27 Sepocaml/ocaml

    Prohibitive amounts of runtime lock waits in multicore analysis with Infer

    The static analyser Infer uses multiprocessing for parallelising analysis work. We recently developed support for multithreading on OCaml 5.2.1. We observe that the multiprocessing version is much faster than the domain-based one on roughly all parallelisation factors (on small targets we see a 30% wall time penalty on multicore).

    Nikos Gorogiannis (@ngorogiannis)
  6. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Proof of concept for checked cmm optimizations

    As a follow up to #8583, this is a proof-of-concept for machine verifiable Cmm optimizations.

    Stefan Muenzel (@smuenzel-js)
  7. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Re-implement weak hashsets using open-addressing with linear probing.

    The Weak.Make module of the standard library provides "weak hashsets", sets of elements that are only kept alive if something else in the program keeps them alive. The typical use-case is to implement hash-consing: whenever building a new term, look for an equivalent term that would already be in the hashset and use it instead, increasing memory sharing. Has…

    Gabriel Scherer (@gasche)
  8. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Self

    shym

    shym
  9. IssueW39.2026 · 21–27 Sepocaml/ocaml

    Stop-the-world barriers take seconds on Windows when a domain repeatedly enters and leaves a blocking section

    On Windows, a stop-the-world section can take five to ten seconds when domains that allocate run alongside even one domain that repeatedly enters and leaves a blocking section. Every domain is stopped for that time. The same program on Linux and macOS completes its barriers in a few hundredths of a second.

    Daniel Larraz (@daniel-larraz)
  10. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Structured diagnostics for the compiler

    See also https://github.com/ocaml/RFCs/pull/45 and https://icfp24.sigplan.org/details/ocaml-2024-papers/16/Structured-diagnostics-for-the-OCaml-compiler for previous discussions .

    Florian Angeletti (@Octachron)
  11. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Unify returns result rather than raising an exception

    I have noticed that almost all calls to unify are directly wrapped inside an exception handler. The cases where we don't have a direct exception handler are the exception that most of the time just expect the unification to never fail.

    Samuel Vivien (@samsa1)
  12. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Update the scope of ancestors in Ctype.unify2_rec

    The detection of ambivalence can be confused in presence of multiple equations on the same node.

    Jacques Garrigue (@garrigue)
  13. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    Windows: fix out-of-bound array access in Unix.select emulation

    This PR splits off the off-by-one bug fix from #14975 by @toots for easier reviewing.

    Nicolás Ojeda Bär (@nojb)
  14. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    [no-change-entry-needed] Fix typo in release-info/howto.md

    Location: release-info/howto.md (Line 174)

    Aditya Mishra (@jane-street)
  15. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    add a new warning for syntactically unerasable optional argument

    This PR is a variation on #12739: it adds add a new stricter warning for optional arguments that are not followed by a unlabelled argument in the same abstraction, for instance

    Florian Angeletti (@Octachron)
  16. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    caml_domain_terminate: do not lose alloc stats

    The comment in domain.c says:

    Török Edwin (@edwintorok)
  17. IssueW39.2026 · 21–27 Sepocaml/ocaml

    confusing error message about modules: ... is not included in ..., instead of unbound module

    Hi,

    redianthus
  18. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    deprecate Weak.get_copy

    Weak.get_copy would perform a shallow copy of the weak key (when alive) to avoid extending its lifetime. This is both a performance footgun and something that plays badly with other language features (mutation, single-use assumptions on continuations (#14988), etc.).

    Gabriel Scherer (@gasche)
  19. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    docs: describe compiler configuration as static

    Describe -config and -config-var consistently as reporting the compiler's static configuration. The wording is synchronized across command-line help, the reference manual, and the ocamlc/ocamlopt man pages.

    John Riley (@jrile018)
  20. Pull requestW39.2026 · 21–27 Sepocaml/ocaml

    feat(typing): add support for optional polymorphic parameters

    Encode optional polymorphic parameters as Tpoly (ty option, vars).

    Alistair (@johnyob)