Repository activity
40458 results across all weeks
Add -no-crc <module> flag to drop a dependency's import-table rows
Stacked on #6542.
Zesen Qian (@riaqn)Add `Compression` module to ocamlcommon
Taking advantage of the lack of runtime4, this reduces the diff with upstream in a few places by taking upstream's Compression module from ocamlcommon exactly as-is, and simply ensuring that compressed marshalling can never be enabled in OxCaml. It also implements the build system work necessary to support -lcomprmarsh necessary for ocamlcommon.cmxa.
David Allsopp (@dra27)Add `zero_alloc_` expression keyword
zero_alloc_ e is an escape hatch for the allocation mode axis: the frontend does not check the allocation axis inside e; the zero_alloc property of e is instead deferred to the backend checker (not yet wired up; Texp_zero_alloc is currently erased in Translcore).
dkalinichenko-jsAdd deployment environments for PR secrets
What
Jacob Van Buren (@jvanburen)Add flambda2 primitives for bit-counting ops (clz, ctz, popcnt, etc.)
Alternative to #6726 (I'll add the other primitives from that PR in a follow-up).
Basile Clément (@bclement-ocp)Add label to skip merlin check
Make the Merlin CI check get skipped if the merlin-emergency-skip label is present on the PR. The intention is for this to be used only if:
Liam Stevenson (@liam923)Add more profiling of cmx loading
Take into account deserialization time inside load_cmx, with a specific cmx_from_raw section.
Basile Clément (@bclement-ocp)Add new -thin-library option
Libraries built with -thin-library have much smaller .a and .cma files by referencing rather than including the corresponding .o and .cmo files. The .o and .cmo files must still be available when the final link occurs.
Stephen Dolan (@stedolan)Add option to drop bytecode typing information
Bytecode objects and libraries (.cmo, .cma) are roughly:
Stephen Dolan (@stedolan)Add support for atomic block indices
Currently, one cannot take the block index of an atomic record field:
Joe Kerrigan (@joe-kerrigan)Add the `spawnable` mode to the forkability axis
Makes the forkability axis spawnable < forkable < unforkable. global now implies spawnable and local still implies unforkable.
Max Slater (@TheNumbat)Adding a `-runtime-variant baremetal`
Adding a runtime variant for bare metal and gating most OS-dependent parts on not bare metal. It forces single domain, no threads or signals, has no-op mutexes and malloc-based memory mapping.
Vlad Turcuman (@vladturcuman)Addressable kinds
Add addressability to the kind system, which describes kinds that one will be able to take a pointer to when boxed. For example, a bits64 box will be represented as a block with all data in its body, and thus bits64 is addressable, whereas a bits8 box is represented as a tagged immediate, so bits8 is unaddressable.
Ryan Tjoa (@rtjoa)Alloc mode
Change the alloc_mode (both a left- and right- version) to be a locality mode in Typedtree.ml. This is necessary due to the zapping strategy in mode polymorphism:
ainageorgesAlloc mode for returns
This PR is a refactor, to distinguish between an alloc_mode and the actual allocation of a return value. This abstraction helps us reason about the allocation modes and how they are used in Lambda, since there is a semantic difference with the "safe" conservative behavior of an alloc_mode and the allocation mode of a return value.
ainageorgesAllocation Mode Axis
Add Allocation mode axis to analyze whether a function allocates on heap.
zhizhuoxinAllocation Mode Axis (Testing)
zhizhuoxinAllocation mode axis fix for multi-argument functions and partial application
A closure built inside a [noalloc_strict] / [noalloc] function (if the information is known when type check the function) is forced to be [local] and on stack. It is also exempted from the allocation check.
zhizhuoxinAllow canonical naming of symbols
Follow-up of #6318
Keryan Didier (@Keryan-dev)Allow coercions from `external`s to `[@@zero_alloc] val`s
This is done by adding a pc_zero_alloc : Zero_alloc.check option field to Tcoerce_primitive, representing the zero_alloc check that must be performed to ensure the coercion is valid. This field is used in transl_primitive similar to how transl_function handles zero_alloc.
James Rayman (@jra4)