Repository activity
40458 results across all weeks
Prepare the 6.5.0 release
Release preparation, see #2468.
hhugoRFC: move ppx_optcomp_light and ppx_expect_light to their own repo (ocsigen/ocsippx)
js_of_ocaml contains two small ppxes that I think would be useful outside of this repo. I would like to move them to their own repository under the ocsigen organisation. This issue describes the plan so we can gather feedback before doing it.
hhugoRuntime: Remove mutable annotations from caml_output_value_to_*
These two functions were wrongly annotated with mutable, even though they can call caml_failwith and caml_invalid_argument (via caml_output_val).
Leo Lee (@smjleo)Runtime: access block tags through the TAG and SET_TAG macros
Use TAG(x) rather than x[0] wherever the runtime reads the tag of a block, and a new SET_TAG(x, tag) macro rather than x[0] = tag where it updates the tag of an existing block in place (caml_obj_set_tag, caml_obj_make_forward, caml_obj_update_tag, caml_update_dummy_lazy).
hhugoRuntime: primitives which can raise are mutators
Draft, mainly to see the effect on the benchmarks.
hhugo[BUG] js_of_ocaml is excessively memory hungry
Describe the bug
Jason Gross (@JasonGross)[Temporary] Benchmarks: build the bench image with Introcaml
Temporary PR on top of #2430 to measure how Introcaml introspection support affects the benchmarks. Not meant to be merged.
hhugodatalog: Add heterogenous maps from table identifiers
@bclement-ocp: It is annoying because in this one the key type has extra type parameters ('k, 'v) we don't care about.
Basile Clément (@bclement-ocp)Add -H-file and -Hx-file
Adds -H-file <visible_path>:<actual_path> and -Hx-file, which add a single hidden file to the load path, with <actual_path> relative to $MANIFEST_FILES_ROOT. This lets Dune pass a handful of files without constructing a manifest. These entries take precedence over -H-manifest entries.
Zesen Qian (@riaqn)Add `-frametable-sections`
Currently, the frametable is always one giant table per compilation
Luke Maurer (@lukemaurer)Add `-jump-table-sections`
On amd64, each compilation unit puts all its jump tables together in one section. This makes it impossible for the linker to drop any function with an Lswitch, even under -function-sections and --gc-sections, so long as even one such function keeps that section alive.
Luke Maurer (@lukemaurer)Add bitwise `not` to lambda and flambda
This improves some codegen, mainly by removing sign-extensions, and is setup for a later PR that will update the backend IRs so NOT/ORN instructions can be emitted.
James Rayman (@jra4)Add documentation for abstract kinds
Despite kind_ being merged for some time now, there was no documentation for it. This PR attempts to add some in, lightly based on an internal announcement of the feature. Commit structure may be useful for review.
Zack Eisbach (@zackbach)Add support for rematerialization (register allocators)
This pull request is a first stab at rematerialization,
Xavier Clerc (@xclerc)Add the --standalone flag
Add a --standalone flag to ocaml-index, which will make the output index file be fully standalone. That is, the index will not contain pointers to other indexes, but rather copy the data from its component indexes. This enables the index to be used when the component indexes are not present, which enables some build-rule simplifications.
Liam Stevenson (@liam923)Add tweak to override Multicore.max_domains
In normal use, having more domains than cores is really bad for performance, so Domain.recommended_domain_count (with a multicore runtime) reports the number of cores (from pthread_getaffinity_np), and Multicore.max_domains inherits it from there. However, some testing frameworks always run on a single physical core but want to run multicore tests. So this P…
Nick Barnes (@NickBarnes)Alloc field order fix
Fixes a bug with the evaluation order of fields in an allocation that (on main) depends on whether the allocation is big (i.e. > max_young_wosize) or small.
Guillaume Bury (@Gbury)Allow -instantiate to take argument compilation unit names
Follow-up to #7331, which moved argument block metadata into .cmis.
Zesen Qian (@riaqn)Allow generalized sort variables in module representation
Previously transl_module_representation would fatal_error upon encountering a generalized sort variable, so code like this would error out:
Joe Kerrigan (@joe-kerrigan)Allow never-returning functions to return values of layout any
47375ab:
dkalinichenko-js