Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Propagate partiality information for mutated variant scrutinee

    (Part of an ongoing series. There's previous discussion in #7241, #13076, #13152 and #13338).

    Jeremy Yallop (@yallop)
  2. Pull requestW44.2026 · 26 Oct – 1 Novocaml/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)
  3. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Runtime events late shutdown

    caml_do_exit destroyed the runtime_events ring buffers before the rest of the shutdown sequence ran, so anything emitted after that point was discarded. This PR moves the teardown to the last place where it can still run, which:

    Tim McGilchrist (@tmcgilchrist)
  4. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Scanf.unescaped fails on perfectly cromulent escaped strings ?

    OCaml versions tested: 4.11.2, 5.5.0

    chetmurthy
  5. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Scanf.unescaped: handle missing escapes

    The function Scanf.unescaped is supposed to implement, at runtime, the same conventions that the lexer implements at compile-time. However, currently, it did not support the full set of escapes that are supported by the lexer. This PR rectifies this:

    Nicolás Ojeda Bär (@nojb)
  6. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Size the runtime_events ring path buffer in char_os

    Give the path its own bound in char_os, scale the allocation by sizeof(char_os), and report a path that does not fit rather than truncating it silently.

    Tim McGilchrist (@tmcgilchrist)
  7. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Smaller code for stack reallocation on AMD64

    On AMD64, when we reallocate the stack:

    Stefan Muenzel (@smuenzel)
  8. IssueW44.2026 · 26 Oct – 1 Novocaml/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)
  9. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Stops assuming float array arguments are floats in flambda lifting (Fix #15212)

    This fixes https://github.com/ocaml/ocaml/issues/15212

    Pierre Chambart (@chambart)
  10. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Test the mingw-w64 port on GitHub Actions instead of AppVeyor

    This PR adds a GitHub Actions job to test the mingw64 build.

    Nicolás Ojeda Bär (@nojb)
  11. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Win32 select: writable socket only reported once.

    When the lists passed to Unix.select contain a non-socket, a writable socket is reported only by the first call.

    Kento Okura (@kentookura)
  12. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    [v2] configure: use Autoconf support for detecting the C++ compiler

    Re-landing of #14996 after it was reverted in #15193.

    Antonin Décimo (@MisterDA)
  13. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    `ocamlopt -linscan` miscompiles `Atomic.compare_and_set` on amd64

    Alperen Keleş (@alpaylan)
  14. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    amd64 `Atomic.exchange` stores a wrong value (5.6 & trunk regression)

    Alperen Keleş (@alpaylan)
  15. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    arm64: shorten three-way integer comparisons

    Hello folks, this is my first contribution to the OCaml compiler. :) This patch is mostly written by AI, but I read the diff and did my best to understand the details.

    Juneyoung Lee (@aqjune)
  16. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    ephemeron.mli: clarify promotion of data of keys that die young

    Recently at LexiFi we observed an issue where the use of ephemerons resulted in excessive GC work penalizing the running time of the program. It turned out to be related to the fact that in OCaml 5 (unlike in OCaml 4), the data of ephemerons whose key dies while still in the minor heap is still promoted (as garbage) to the major heap, delaying the moment whe…

    Nicolás Ojeda Bär (@nojb)
  17. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    expect tests (feature request): an "expect discard" extension to discard toplevel output

    "expect tests" are the compiler-internal mechanism for snapshot testing, where basically we write toplevel sentences and record their toplevel output. This is very useful to test type-system things in particular, and can also be useful to test stdlib functions (benefitting from the type-directed toplevel printer to see the results), etc.

    Gabriel Scherer (@gasche)
  18. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    fix typo in changes, introduced in 2247294d064

    Hannes Mehnert (@hannesm)
  19. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    fix(typing): call `cleanup_abbrev_memo` in `try_expand_safe_opt`

    This PR makes try_expand_safe_opt call cleanup_abbrev_memo, as try_expand_safe and safe_abbrev already do.

    Alistair (@johnyob)
  20. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    flambda `ocamlopt` stops with "Bad definition for float array member" on a GADT match with a dead float-array branch

    Alperen Keleş (@alpaylan)