Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Generate native atomic exchange and compare-and-set across all architectures

    G'day!

    Zane Hambly (@Zaneham)
  2. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Improve global roots debugging

    Debugging GC roots corruption has always been a pain in the arse and I was recently faced with yet another of those.

    Romain Beauxis (@toots)
  3. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Improve typing error messages for Duplicate_constructor and Duplicate_label

    This PR is a continuation of work in #15120.

    Michał Kosior (@crqch)
  4. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Inline the full-application part of caml_apply

    Similar to #198, but we structure the code so that the argument loading is not repeated for the caml_apply and full application call, in order to not increase code size too much. This is especially important for functions with many arguments.

    Stefan Muenzel (@smuenzel)
  5. IssueW42.2026 · 12–18 Octocaml/ocaml

    Intel CET (SHSTK | IBT)

    I'd like to be able to protect my code at the level of Intel CET technologies.

    vvv0rt3xxx
  6. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Performance improvements for large object types in #15163

    Note: for discussion only for now. It's too much to merge to 5.6

    Stefan Muenzel (@smuenzel)
  7. IssueW42.2026 · 12–18 Octocaml/ocaml

    Polymorphic parameters are not documented

    Polymorphic parameters were merged but the manual does not document them.

    Olivier Nicole (@OlivierNicole)
  8. IssueW42.2026 · 12–18 Octocaml/ocaml

    Poor GC behavior on OCaml 5

    I recently upgraded Semgrep to OCaml 5. I had to put a fair amount of effort into tuning the GC in order to achieve comparable performance to OCaml 4 (my data suggests that time and memory are both slightly better, but it's within the margin of error). @kayceesrk read my post and became concerned about the behavior of the runtime here, so I am filing an issu…

    Nat Mote (@nmote)
  9. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Preserve possible injectivity in variance composition

    Fix #15142 in Variance.compose when the outer parameter may be invariant

    Demetrios Chiuratto Agourakis (@agourakis82)
  10. IssueW42.2026 · 12–18 Octocaml/ocaml

    Race between `Gc.finalise_last` and the minor GC on a young value of another domain

    If a domain calls Gc.finalise_last on a young value of another domain, the minor GC can read freed or reused memory. The result can be a segmentation fault in caml_final_update_last_minor. From code reading, the race is in all versions from OCaml 5.1.0 to trunk.

    Bikal Lem (@bikallem)
  11. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Remove the instrumented runtime

    Following on from #15117 for 5.6, this PR removes the instrumented runtime completely. This has been entirely produced by Claude - my input was mostly to bike-shed early deprecation decisions and delete superfluous comments. I've allowed it to pontificate in two areas because I'm open to suggestions as to what to do:

    David Allsopp (@dra27)
  12. Pull requestW42.2026 · 12–18 Octocaml/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)
  13. IssueW42.2026 · 12–18 Octocaml/ocaml

    Signal handler doesn't run if signal received at the wrong time

    When a signal arrives, the C function handle_signal is called, which calls caml_record_signal. This just sets a flag indicating that the corresponding OCaml handler should run at the next opportunity.

    Thomas Leonard (@talex5)
  14. IssueW42.2026 · 12–18 Octocaml/ocaml

    Test lib-systhreads/test_c_thread_register is flaky under ThreadSanitizer

    I haven’t have been able to diagnose further yet, but sometimes under TSan the program exits without having printed the single expected output line:

    Olivier Nicole (@OlivierNicole)
  15. IssueW42.2026 · 12–18 Octocaml/ocaml

    Total matches with redundant cases containing or and when clauses may cause fatal error

    Note: these examples were found with claude

    Stefan Muenzel (@smuenzel)
  16. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    Typing recovery, new follow up

    A few issues (presumably the last ones for now) that came up while porting Merlin to the new recovery (cc @voodoos).

    Xavier Van de Woestyne (@xvw)
  17. Pull requestW42.2026 · 12–18 Octocaml/ocaml

    [@remove_aliases]: keep the aliases inside modules passed to functors (fixes #13979)

    Fixes #13979. Related: #13997.

    Udaykishore Resu (@udaykishore-resu)
  18. IssueW42.2026 · 12–18 Octocaml/ocaml

    `ocamlopt`: Fatal_error Selection.size_expr on a mutable let

    Repro

    Michael Bacarella (@mbacarella)
  19. IssueW42.2026 · 12–18 Octocaml/ocaml

    `ocamlopt`: `asr 63` and `lsr 63` miscompile when result is immediately untagged

    Minimal repro

    Michael Bacarella (@mbacarella)
  20. IssueW42.2026 · 12–18 Octocaml/ocaml

    flambda -O2/-O3: [Project_var] from a value with wrong approximation

    Repro

    Michael Bacarella (@mbacarella)