Thicket thicket
ocaml
REPOS 1

Tools covers builds, package management, editors, documentation and JavaScript compilation.

W38.2026 · 14–20 Sepocsigen/js_of_ocaml

Features

  • Large binary string constants (parser tables, embedded files, marshaled data) are now emitted as base64 literals, decoded once at initialisation. Reduces a 3 MB binary payload from 8.3 MB escaped to ~4 MB base64; gzip output drops from 5.36 MB to 4.69 MB. Merged. (#2432)

  • All runtime stubs are now generated via gen_stubs from external declarations, replacing hand-written dynlink stubs. Stubs are emitted as weak symbols so native code linking JavaScript primitives can override them. Merged. (#2435)

  • Prototype for Introcaml runtime introspection in JavaScript: block allocations carry a descriptor index, Introspect.Print and Hashtbl.seeded_hash_param work under Node. Gated behind --enable introspection. Open. (#2430)

  • Temporary alternative storing the Introcaml block descriptor in the header word instead of an Array subclass; microbenchmarks show 20–200× faster allocation on V8. Open, not intended for merge as-is. (#2433)

  • Direct one- and two-argument partial applications in double-translation mode skip an extra caml_call_gen_direct frame. Opened. (#2437)

  • Wasm backend interns string constants, reusing strings already present elsewhere in the program to reduce bundle size. Opened. (#2436)

Fixes

  • Effect-related fixes for the Wasm backend. Opened; merge occurred after the reporting interval. (#2434)

Compatibility and Releases

  • The tests-full stdlib 5.6 snapshot was refreshed to match OCaml trunk drift (String.hash reordering, Set.union/Set.inter shortcuts). Test-only; no changelog entry. Merged. (#2438)