Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Handling of bigarray subarrays in Gc.Memprof

    Török Edwin (@edwintorok)
  2. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Implement Dynarray.sort

    This PR adds new standard library functions : Dynarray.stable_sort_sub, Dynarray.stable_sort and Dynarray.sort.

    Jeannalyse
  3. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Improve `CAMLthread_local` definition for C/C++ interoperability

    For symbols with external linkage, care must be taken for C⁠+⁠+ interoperability.

    Antonin Décimo (@MisterDA)
  4. Pull requestW31.2026 · 27 Jul – 2 Augocaml/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. IssueW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Manual: describe what needs to be installed by a library

    Hello,

    Daniel Bünzli (@dbuenzli)
  6. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Merge `Dynlink` into a single module

    This is an extraction of the first four commits of #13745, following on from https://github.com/ocaml/ocaml/pull/13745#pullrequestreview-2603386477.

    David Allsopp (@dra27)
  7. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Move systhreads into the runtime (proof of concept).

    This is a draft PR to explore moving the systhreads implementation into the runtime. The division has been ~fictional for a while. Natural next steps (not yet taken) would be:

    Nick Barnes (@NickBarnes)
  8. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    New implementation for Hashtbl

    This PR proposes a new implementation of the module Hashtbl. The main change it brings is a deterministic order for iterations on a table, whether it was created with a random seed or not.

    Jeannalyse
  9. Pull requestW31.2026 · 27 Jul – 2 Augocaml/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)
  10. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Reoptimize `ocamlc -g`

    The lambda-code generated when using ocamlc -g differs from the code generated by ocamlc -no-g or ocamlopt, for two orthogonal reasons:

    Gabriel Scherer (@gasche)
  11. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Result.all, Option.all for collapsing lists of values

    These are two functions which are helpful for "transposing" lists of optional/possibly-erroring values into optional/possibly-erroring lists, e.g., turning a 'a option list into a 'a list option. They differ from something like List.filter in that they are all-or-nothing, either all the values are on the happy path and you get back a list, or you get back No…

    Brian Ward (@WardBrian)
  12. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Revert "Temporarily disable warning C5387 on MSVC"

    TODO item following up #14102 to be merged as-and-when:

    David Allsopp (@dra27)
  13. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Sanitize the build environment

    A further extension of the quick fix in #14914 ~~(which this PR sits on top of)~~.

    David Allsopp (@dra27)
  14. IssueW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Stdlib oversights around iarray

    While converting some of my code to iarray, I ran into a couple of oversights in the std library:

    Andreas Rossberg (@rossberg)
  15. IssueW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Stdlib: Make `Sys.file_exists` raise `Sys_error` in error cases, instead of returning `false`

    The semantics of Sys.file_exists returning false in error cases is imprecise and impractical to deal with. It would be helpful if an appropriate Sys_error was raised in error cases.

    sabine (@sabine)
  16. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Stdlib: make the Hashtbl per default seeded, unless OCAMLRUNPARAM includes "R=0"

    The compiler requires deterministic hashtable; Consistbl passes ~random:false

    Hannes Mehnert (@hannesm)
  17. Pull requestW31.2026 · 27 Jul – 2 Augocaml/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)
  18. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Support for trunk compilers in ocaml-system in opam

    Re-work of the proposal in https://github.com/ocaml/opam-source-archives/pull/52.

    David Allsopp (@dra27)
  19. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Support frame pointers on POWER architecture

    This builds on the now-merged POWER CFI support (#14482) to add frame pointers on POWER. I've tested on the Ubuntu 24.04 ppc64le platform I've access to, it should work on ppc64 big endian but I don't have access to a test machine for that. I haven't tested the TSAN support as I think there are other PRs like https://github.com/ocaml/ocaml/pull/14302 that ne…

    Tim McGilchrist (@tmcgilchrist)
  20. Pull requestW31.2026 · 27 Jul – 2 Augocaml/ocaml

    Support relocatable cross compilers

    This PR make it possible to build relocatable cross compilers. In particular, it allows the call configure --with-relative-libdir TARGET_LIBDIR=... which was explicitly forbidden as setting (a merged host and target) libdir twice.

    shym