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

WASI runtime #101

Open
vouillon opened this issue Oct 10, 2024 · 2 comments
Open

WASI runtime #101

vouillon opened this issue Oct 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vouillon
Copy link
Collaborator

It would be interesting to have a version of the runtime which does not depend on JavaScript, probably by linking against wasi-libc.

Some features would not be supported:

  • weak pointers
  • preserving sharing during marshaling.

Bigarrays would need to be reimplemented using Wasm arrays instead.

@vouillon vouillon added the enhancement New feature or request label Oct 10, 2024
@kayceesrk kayceesrk moved this to Todo in hackocaml Oct 18, 2024
@avsm
Copy link

avsm commented Nov 3, 2024

When the WASI runtime is supported, you could also have a WASIX extension (see https://wasix.org) which would then support POSIX. This in turn would allow OCaml to be published on wasmer's package registry (https://wasmer.io) and hopefully allow "wasmer run ocaml" to work!

@vouillon
Copy link
Collaborator Author

vouillon commented Nov 8, 2024

@avsm Wasmer does not support the Wasm GC proposal, so we are not there yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants