Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with JS String Builtin proposal #638

Open
2 tasks
oovm opened this issue Dec 28, 2024 · 0 comments
Open
2 tasks

Compatible with JS String Builtin proposal #638

oovm opened this issue Dec 28, 2024 · 0 comments

Comments

@oovm
Copy link

oovm commented Dec 28, 2024

The JS String Builtin provides a set of functions to the wasm:js-string namespace, and it is best to wit them to fit into the component model system.

  1. Standardize unmanaged core module imports in the wasm:js-string namespace
  2. Host can selectively implement some js functions
  3. Linker can select the required shim implementation
  4. As a shared core definition, other js binding libraries can import and pass js strings without loss

There are many details to discuss, such as

  • wasm:js-string is not a valid world name
  • Is js-string a resource?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant