Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Runtime events lost words truncation

    Changes lost_words from an int to an uint64_t. The lost_events callback reports how far a consumer fell behind, in ring buffer words. The value is computed as a difference of two uint64_t ring positions but the callback takes an int, so it wraps once the gap exceeds INT_MAX, which is quite easy to hit with a modest program.

    Tim McGilchrist (@tmcgilchrist)
  2. IssueW37.2026 · 7–13 Sepocaml/ocaml

    Segfault with ocamlopt due to invalid value kinds with syntactic function arity

    The following code causes a segfault when compiled with ocamlopt (tested with 5.4.0, but I don't expect it to have changed since then):

    Nathanaëlle Courant (@Ekdohibs)
  3. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Small build fixes, found on Cygwin

    ~doc: Ubuntu 26.04 has migrated to Autoconf 2.72, GHA has not

    Antonin Décimo (@MisterDA)
  4. IssueW37.2026 · 7–13 Sepocaml/ocaml

    Stop compiling and installing the ocaml*.byte binaries by default

    ocamlc.byte, ocamldep.byte, ocamllex.byte, ocamlobjinfo.byte and ocamlopt.byte are all compiled and installed even on platforms where their *.opt variant are available.

    Kate (@kit-ty-kate)
  5. IssueW37.2026 · 7–13 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)
  6. Pull requestW37.2026 · 7–13 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)
  7. IssueW37.2026 · 7–13 Sepocaml/ocaml

    Subtyping between module types with present/absent aliases crashes the typechecker

    When checking for equivalence of module types, a coercion between an absent an present alias confuses the error printer. At an high-level, if the user were able to indicate the presence flag on aliases, this equivalence check would crash :

    Clément Blaudeau (@clementblaudeau)
  8. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Support for unlimited number of non-constant constructors

    This PR adds support for a [@large_variant] attribute on variant declarations that changes the compilation scheme to use one more word for the non-constant constructors, to store the tag (as a regular integer).

    Vincent Laviron (@lthls)
  9. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    The expansiveness check should consider effect cases

    The expansiveness check rightly rejects

    Jeremy Yallop (@yallop)
  10. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Unix.realpath: better normalization of Win32 UNC paths

    Fixese the normalization done by Unix.realpath on Windows when handling UNC paths:

    Nicolás Ojeda Bär (@nojb)
  11. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Various Runtime events documentation improvements

    I've tried to clarify, simplify, and reuse existing terminology where possible. Each change is self contained and could land by itself, but it's easier to review as a whole.

    Tim McGilchrist (@tmcgilchrist)
  12. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Various small libunix fixes

    I got curious and asked my LLM to "find bugs in otherlib/unix" and it raised a few issues. It's all quite minor. Fixes are mine.

    Antonin Décimo (@MisterDA)
  13. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    Weak.get_copy: copying continuations is unsafe, so don't copy them.

    It's not generally safe to copy continuations. However, Weak.get_copy shallow-duplicates continuations, which can lead to program crashes. Here's an example program:

    Jeremy Yallop (@yallop)
  14. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    [RFC] Add a single file to load path

    This PR proposes a way to add a single file to the load path (which up to now consisted of a list of directories). The reasons for doing so are multiple but they revolve around the need for greater control over dependencies.

    Nicolás Ojeda Bär (@nojb)
  15. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    `Set.{union,inter,diff}`: better complexity for sets with sharing

    This patch adds fast paths based on physical equality to the set operations union, inter, and diff. This change reduces the complexity of these operations when the sets involved are "related", ie share subsets, as well as increasing the amount of sharing in the resulting sets (which in turn make it more likely for the optimization to trigger again).

    Nicolás Ojeda Bär (@nojb)
  16. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    `[@@deprecated_unlabelled]` for gracefully deprecating unlabelled arguments

    This PR proposes a new attribute [@@deprecated_unlabelled] (similar in spirit to [@@deprecated_mutable]). It can be used to annotate function signatures where a label has been added to one of the arguments:

    Nicolás Ojeda Bär (@nojb)
  17. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    add OSEC advisory reference

    Octachron

    Hannes Mehnert (@hannesm)
  18. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    add OSEC advisory reference

    Octachron

    Hannes Mehnert (@hannesm)
  19. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    add OSEC advisory reference

    Octachron

    Hannes Mehnert (@hannesm)
  20. Pull requestW37.2026 · 7–13 Sepocaml/ocaml

    add Stefan Muenzel as maintainer

    Stefan has had a steady volume of excellent contributions to the compiler over the past years, for example to the compiler backend, and in particular provided much-needed help on the maintenance of the type-checker.

    Gabriel Scherer (@gasche)