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

Provide a web-only version of the extension by compiling the server into WASM #188

Open
nberth opened this issue Mar 5, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nberth
Copy link
Collaborator

nberth commented Mar 5, 2024

Performance issues with the Javascript+effects version seem to be too hard to deal with at the moment. Another way towards a "pure" web extension could be to compile the LSP server into WASM using wasm_of_ocaml (or another such compiler).

Originally posted by @nberth in #93 (comment)

@nberth nberth added enhancement New feature or request help wanted Extra attention is needed labels Mar 7, 2024
@GitMensch
Copy link

Wouldn't that also allow to provide a universal version (= one that works on all of Windows/Linux/Web)?

@nberth
Copy link
Collaborator Author

nberth commented Jun 10, 2024

Wouldn't that also allow to provide a universal version (= one that works on all of Windows/Linux/Web)?

I would assume so. Yet, this is low priority until we have "external" demands: at the moment it requires some work in wasm_of_ocaml.

Edit: Another way would be to use wasocaml, but we have not tried it either.

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

No branches or pull requests

2 participants