Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. IssueW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Dead code elimination drops stores that keep values alive for Weak

    Hello,

    Vincent Balat (@balat)
  2. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Ensure empty float arrays use tag 0 rather than 254

    The following paths in wasm emit an empty float array with tag 254 rather than 0, leading to behaviour mismatches with native code:

    Leo Lee (@smjleo)
  3. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Fix float formatting to match native

    Jérôme Vouillon (@vouillon)
  4. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Flow and phi simplification: improvements and small fixes

    @hhugo: Small pr description please

    Jérôme Vouillon (@vouillon)
  5. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Global data flow analysis: cleanup

    Jérôme Vouillon (@vouillon)
  6. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Global deadcode elimination: performance improvements

    Jérôme Vouillon (@vouillon)
  7. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Improve variable naming (Js_assign)

    @hhugo: Can you explain how you choose this function ?

    Jérôme Vouillon (@vouillon)
  8. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Manual: update the performance charts, add Wasm_of_ocaml

    Updates the charts of the performance page, last generated in November 2022, and adds Wasm_of_ocaml.

    hhugo
  9. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    More Wasm-level optimizations

    Jérôme Vouillon (@vouillon)
  10. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Runtime/Wasm: add the system constants needed with --disable staticeval

    The primitives caml_sys_const_backend_type, caml_sys_const_big_endian and caml_sys_const_naked_pointers_checked are usually evaluated statically (see Eval), so the Wasm runtime did not implement them (big_endian was exported under the misspelled name caml_sys_const_bigendian). Compiled with --disable staticeval, every program then failed at startup, when ini…

    Jérôme Vouillon (@vouillon)
  11. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Runtime: faster multi-byte reads and writes on bytes

    caml_bytes_get{16,32,64}u read the Uint8Array directly when the bytes are in the array representation, instead of going through caml_bytes_unsafe_get for each byte (and allocating an 8-element array for 64-bit reads).

    Jérôme Vouillon (@vouillon)
  12. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Runtime: fix a few primitives to match the C runtime

    Int32.of_string and Nativeint.of_string were aliases of int_of_string, and failed with its message ("int_of_string") instead of "Int32.of_string" and "Nativeint.of_string".

    Jérôme Vouillon (@vouillon)
  13. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Runtime: hash strings in a single pass

    caml_hash checked whether a JavaScript string was an OCaml string with caml_is_ml_string, which scans it with a regular expression, before hashing it; caml_hash_mix_jsstring then scanned it a second time to check that its code units fit in a byte. This showed up at about 7% of a Hashtbl-with-string-keys profile in the default (use-js-string) mode.

    hhugo
  14. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Switch to dune 3.23

    It uses js_of_ocaml --build-config to manage config details.

    Jérôme Vouillon (@vouillon)
  15. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Tests: update the md5 expectations after the chart refresh

    Master CI fails in every test job (js_of_ocaml, wasm_of_ocaml, quickjs, bun) on compiler/tests-io/md5.expected / md5_nat.expected.

    hhugo
  16. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Unboxing of function and block parameters

    Jérôme Vouillon (@vouillon)
  17. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Wasm inlining improvements

    Jérôme Vouillon (@vouillon)
  18. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    Wasm: collect the shapes of compilation units

    collects_shapes only recognized the JavaScript form of the global registration of a compilation unit (caml_register_global with a native string), not the Wasm one (a string constant). So Wasm compilation units never exported their shapes (shapes.sexp was empty), and separate compilation could not use the arity and purity of the functions of other units.

    Jérôme Vouillon (@vouillon)
  19. Pull requestW45.2026 · 2–8 Novocsigen/js_of_ocaml

    [wasm] Option to implement OCaml strings with JavaScript strings

    Conditional compilation of Wasm runtime

    Jérôme Vouillon (@vouillon)
  20. Pull requestW45.2026 · 2–8 Novoxcaml/opam-repository

    Add Dune package management compatibility patch for `ocamlbuild`

    Adds a patch to ocamlbuild to maintain compatibiltiy with dune package management, extracted from our branch at https://github.com/gridbugs/ocamlbuild/tree/0.16.1%2Bdune. This will enable the package to work when a project that requires this as a dependency is built with Dune package management. It will also continue working with opam. Some of this has been …

    Sudha Parimala (@Sudha247)