Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Bytecode: Deeply copy "unboxed" product fields on creation

    This fixes the same bug as in #6123 and #5386 but for record creation.

    Zack Eisbach (@zackbach)
  2. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Bytecode: record optimization hints

    Keep some information from Lambda that is lost when compiling to bytecode, so that compilers from bytecode such as wasm_of_ocaml can generate better code. The bytecode itself is unchanged: the hints are a list of (code offset, hint) pairs stored in a new section of .cmo files, after the debugging information. They are copied by the librarian and the packager…

    Jérôme Vouillon (@vouillon)
  3. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Change most stdlib/built-in parameterised types to take `any`

    Do for the rest of stdlib what #5462 did for option. The only real difficulty is ref, which we access using externals rather than OCaml syntax.

    Luke Maurer (@lukemaurer)
  4. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Clean #includes in the runtime

    Three commits to improve the hygiene of #includes in the runtime:

    Nick Barnes (@NickBarnes)
  5. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Cmm int casts

    Add Tagged_int_of_int64, Int64_of_tagged_int, and Int_conv constructors to Cmm.static_cast. Int_conv represents conversions between naked integers, and Int64_of_tagged_int and Int_conv take a signedness.

    James Rayman (@jra4)
  6. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Cmm: Track the bit length of narrow loads

    Cmm_helpers.max_signed_bit_length now knows the width of byte, 16-bit and 32-bit loads, so asr_int can cancel (x lsl n) asr n when x is such a load.

    Ryan Tjoa (@rtjoa)
  7. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Cohorts for deduplicating layout-polymorphic instances at link time

    Introduces the high-level concept of a cohort: a collection of

    Luke Maurer (@lukemaurer)
  8. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Compute likelihood information on switches

    Note: this includes #7361

    Basile Clément (@bclement-ocp)
  9. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Confine tick requests to one domain

    Domain.Tick.t is supposed to represent a tick request on a particular domain, but currently you can acquire it on one domain and release it on another. There are two issues: first, it crosses portability, and second, you can suspend and resume the current fiber between the acquire and release.

    Max Slater (@TheNumbat)
  10. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Constrain with-bound type variables during unification

    I'm not sure we should do this

    dkalinichenko-js
  11. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Copy propagation for linscan and greedy allocators

    This pull request implements a basic variant

    Xavier Clerc (@xclerc)
  12. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    DRAFT: Make module aliases opaque to modes

    A module alias is not a real member of the enclosing structure; it is more like a type declaration. This PR makes the mode system treat it that way:

    Zesen Qian (@riaqn)
  13. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Delay import of typing environments

    Serialized typing environments are effectively maps from names to types, which we eagerly rename upon import of cmx files. We often only look up only a small fraction of the equations present in the typing env, but still pay the cost for importing it in full.

    Basile Clément (@bclement-ocp)
  14. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Delay template capture computation to slambda eval

    Lkindtemplate and Ltemplate no longer carry an explicit environment of captured variables. Instead, slambda works out a template's captures from its free variables when it evaluates the template. It uses layouts recorded in its environment, and the closure is allocated with the function's own mode. Notably getting the layouts form the slambda eval environmen…

    Jack Rickard (@Skepfyr)
  15. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Do not inline the closure-creating printf functions

    Printf.kfprintf, Format.kfprintf, Format_doc.kfprintf and the related functions allocate a closure capturing the continuation or a buffer, so it cannot be lifted and its code is copied into every call site the function is inlined into. The inlining is reasonable from what the compiler can see, even under less aggressive heuristics (the continuation becomes k…

    Mark Shinwell (@mshinwell)
  16. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Downstream changes from Merlin that improve the performance of the indexer

    This PR downstreams two separate PR from ocaml/merlin that improve the memory management for the indexer: ocaml-index. This work is part of the Tarides proposal about "Indexer memory management".

    Tim ats (@Tim-ats-d)
  17. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Enable testing and CI for ocamlj

    Summary

    Jacob Van Buren (@jvanburen)
  18. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Export Flambda 2 information for units with no final typing environment

    This PR tweaks how typing information is stored in .cmx files in preparation for link-time optimization. Previously, a unit whose top-level module startup code does not return would not emit the normal data (i.e., the identifier table, and the code and offsets reachable from the module symbol) into .cmx files. It does now and only emits the typing environmen…

    Simon Spies (@spiessimon)
  19. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    Extend SSA reduce to support moves between blocks

    As per title: add a third constructor to reduction,

    Xavier Clerc (@xclerc)
  20. Pull requestW41.2026 · 5–11 Octoxcaml/oxcaml

    FDO counters for new FDO implementation

    This adds types and utility functions for the pseudo-instrumentation counters to be propagated throughout compilation.

    yusumez-js