Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Compiler: use a circular buffer as the worklist of the dataflow solvers

    The imperative dataflow solvers (Dgraph) first accumulated all the nodes of the graph in a list, and then copied this list into a Queue.t. For large programs, both ended up being promoted to the major heap, each time a solver is run (flow analysis, phi simplification, global flow analysis, partial CPS analysis, global dead code elimination).

    hhugo
  2. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Effect fixes

    Jérôme Vouillon (@vouillon)
  3. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Effect handlers: improvements

    no need to put mutually recursive functions in CPS with Wasm, which supports tail calls;

    Jérôme Vouillon (@vouillon)
  4. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Experiment with some static evalution

    Jérôme Vouillon (@vouillon)
  5. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Extract loops from toplevel function into helper functions

    Extract outermost loops of the entry function into helper closures, so engines tier up the small helpers instead of the giant initialization code. The pass benefits both JavaScript and WebAssembly output.

    Jérôme Vouillon (@vouillon)
  6. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Lib: Form skips button inputs

    Form.form_elements and Form.get_form_contents serialize the fields of a form, for instance to send it through XHR (Eliom does). An with a name fell into the default case of get_input_val and was sent as name=value. A native submission never sends it:

    Vincent Balat (@balat)
  7. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    More precise function type

    Casting the environment to its exact type should be slightly faster since we avoid the test for i31.

    Jérôme Vouillon (@vouillon)
  8. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    No longer call wasm-opt with --opt 1

    We skip calling wasm-opt with --opt 1. Expected benefits:

    Jérôme Vouillon (@vouillon)
  9. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Optimize exceptions

    Jérôme Vouillon (@vouillon)
  10. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    OxCaml updates

    Jérôme Vouillon (@vouillon)
  11. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Prepare for Oxcaml 5.4

    Jérôme Vouillon (@vouillon)
  12. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Runtime: caml_alloc_dummy_mixed takes two arguments

    The OxCaml compiler calls it with the block size and the scannable prefix size, as the Wasm runtime expects. The JavaScript backend declared it with one argument, so compiling a recursive definition of a mixed record failed with "Invalid arity for primitive" (tests-oxcaml/misc).

    Jérôme Vouillon (@vouillon)
  13. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Runtime: fix gating of float32 unsafe get/set primitives

    These primitives were added with the obsolete //OxCaml marker, which is now ignored, so they were linked without OxCaml and required missing primitives (compilation failure with OCaml 5.2). Gate them on //If: oxcaml, and drop their spurious < 5.3 version bound.

    Jérôme Vouillon (@vouillon)
  14. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Runtime: fix two nat bugs with 32-bit digits

    compare_digits_nat compared digits as signed integers, so a digit with its high bit set compared lower than a small one. Digits are unsigned, as in the C implementation.

    Jérôme Vouillon (@vouillon)
  15. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Runtime: specialize direct partial applications in double-translation mode

    Avoid an extra caml_call_gen_direct frame for one- and two-argument partial applications in double-translation mode.

    Jérôme Vouillon (@vouillon)
  16. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Specialize exact calls before CPS conversion

    Run exact-call specialization for CPS and double-translation backends, then recompute global flow information for the rewritten program.

    Jérôme Vouillon (@vouillon)
  17. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Tests clean-up

    Jérôme Vouillon (@vouillon)
  18. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Unboxing of function and block parameters

    Jérôme Vouillon (@vouillon)
  19. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Use Wax for runtime files

    Wax 0.2.0 is on opam. I think it is mature enough to be used by Js_of_ocaml.

    Jérôme Vouillon (@vouillon)
  20. Pull requestW39.2026 · 21–27 Sepocsigen/js_of_ocaml

    Use more precise Wasm types

    Jérôme Vouillon (@vouillon)