Skip to content

[wasm] Option to implement OCaml strings with JavaScript strings - #1772

Draft
vouillon wants to merge 27 commits into
masterfrom
js-strings
Draft

vouillon wants to merge 27 commits into
masterfrom
js-strings

Conversation

@vouillon

@vouillon vouillon commented Dec 17, 2024 •

Copy link
Copy Markdown
Member
  • Conditional compilation of Wasm runtime
  • Import string constants (define JS strings in Wasm runtime)
  • default should be not to use js strings
  • Compatibilty for when JS string builtins proposal is not available
  • Performance improvements
    • skip conversions for ASCII strings
    • lower level version of caml_blit_string
    • Use I16 array for conversions
    • Remove unnecessary conversion
  • clean-up / check for missing tests
  • adapt Jane street libraries
  • performance measurements

@vouillon vouillon added the wasm label Dec 17, 2024
@vouillon
vouillon force-pushed the js-strings branch 19 times, most recently from 7622533 to 1e6911d Compare December 20, 2024 18:03
@smorimoto
smorimoto requested a review from Copilot December 29, 2024 20:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 59 out of 59 changed files in this pull request and generated no comments.

@OlivierNicole

Copy link
Copy Markdown
Contributor

Rebased on master.

@hhugo

hhugo commented Jul 2, 2026

Copy link
Copy Markdown
Member

@vouillon, What should we do about this PR ?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants