Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Only use guard pages for currently-active stacks

    Enable millions of fibers without stack checks.

    Nick Barnes (@NickBarnes)
  2. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Outdated index files

    Let's say merlin index file A points at merlin index file B. A stores a digest of B so that Merlin can tell if B has changed without A changing (example of how this can arise: the user changes a source file, causing dune to need to rebuild B and then A, but the Merlin query happens in-between the build of B and A). We'll call B "outdated" (even though in rea…

    Liam Stevenson (@liam923)
  3. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Overhaul of sort variable levels

    Unsound layout polymorphism is abound, because levels of sort variables are not correctly tracked, and they could generalise via let poly_ at semi-arbitrary points.

    Jakub Bachurski (@jbachurski)
  4. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Parsing: mode variables, mode bounds and morphisms

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  5. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Parsing: mode variables, mode bounds and morphisms

    This PR (based on #7627) is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  6. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Peephole optimise imul to lea for multipliers 3,5,9.

    We already use lea in place of imul for simple constant multipliers in some places. In experimenting with writing hash functions in OxCaml, @nmatschke found some places where that was not done. This adds a peephole stage on the backend to pick up those cases.

    Nick Barnes (@NickBarnes)
  7. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Print `any`-kinded fields of unboxed records in the toplevel

    The toplevel printer is still relying on each field's declared sort (ld_sort) to render fields of unboxed records, despite the introduction of any fields (#5461, #6436), whose declared sort is None. Consequently, an any field gets output as . The fix mirrors what the constructor-argument path already does: when the declared sort is None, compute the sort of …

    Luke Maurer (@lukemaurer)
  8. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Printing and hiding a mode polymorphic curry mode

    This PR makes the following changes to the printer of mode polymorphic variables, all related to curry mode:

    ainageorges
  9. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Produce structured mode diagnostics

    This PR introduces the diagnsotics/ directory, which consumes errors in the compiler and produces "structured diagnostics".

    Gavin Gray (@gavinleroy)
  10. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Products imply addressable

    We make three coupled changes:

    Ryan Tjoa (@rtjoa)
  11. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Record action traces

    This PR adds the Action_trace module to the compiler. This module allows for writing data that dune can read and then record in a trace.json file. This is useful for logging metrics and performance numbers.

    Liam Stevenson (@liam923)
  12. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Record whether arguments are solely responsible for allocation in `.cmx` summaries

    Extend [@zero_alloc] summaries to include whether all possible allocations within a function's body come from indirect calls to an argument to that function (e.g. List.iter).

    Will Sturgeon (@wrsturgeon)
  13. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Reduce the maximum arena memory filled by debug runtime

    Prior to this PR, every time the local-allocation arenas are scanned (e.g. for a minor GC), with the debug runtime, the entire unused part of each arena is filled with a debug fill value. This can be a lot of memory, unrelated to the allocation rate, which can lead to some test cases timing out.

    Nick Barnes (@NickBarnes)
  14. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Refactor sort/layout inference primitives to return `result`s

    This addresses a review comment in #7178, avoiding the unchecked Lower_rigid exception.

    Jakub Bachurski (@jbachurski)
  15. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Refactor: prepare typetexp and typemode for mode variables

    Based on main. First PR of the mode polymorphism parsing stack; #7628 is stacked on this.

    ainageorges
  16. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Refactor: prepare typetexp and typemode for mode variables

    This PR is part of a stacked PR for mode polymorphism parsing.

    ainageorges
  17. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Remove mask instruction from String.length

    Strings never have mixed-block bits set in their header words, so can skip an instruction to mask them out.

    Nick Barnes (@NickBarnes)
  18. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Remove restrictions on unboxed products in external calls

    Unboxed products passed to or returned from external calls now follow the calling convention of the corresponding (possibly nested) C struct, on x86-64 (System V) and arm64 (AAPCS64 and its Apple variant). Previously arguments could not involve unboxed products at all (except via [@unpacked]) and returns were limited to certain flat pairs.

    Mark Shinwell (@mshinwell)
  19. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Rename cast constructors in Cmm

    James Rayman (@jra4)
  20. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Replace `Slambdaident` with `Layout_ident`

    Slambda's Env now keeps idents and sort variables in separate maps, with sort variables mapping straight to layouts. That means Lambda only needs an identifier type for sort variables, so Slambdaident becomes Layout_ident. Behaviour doesn't change. Specifically Ident.ts and the layout vars never need to be represented in the same place so representing them w…

    Jack Rickard (@Skepfyr)