Skip to content

Compile Rust Language Server into WASM to provide IntelliSense and completions #357

Open
@skyne98

Description

@skyne98

Partially realted to #188

Hey there, folk! Should we try to compile Rust Language Server into WASM to run it in the playground to provide, at least, the intellisence and completions?

I don't really know how closely it is tied to the rust compiler itself, which cannot be, as far as I know, compiled for the web at the moment. I think we really need someone with a good pack of knowledge here 😄

Performance might be an issue, but it should be possible to, in theory, run the RLS in a separate WebWorker. Maybe even compile it to use multiple of them using Emscripten and enabling SharedArrayBuffer support?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething new the playground could dohelp wantedNot immediately going to be prioritized — ask for mentoring instructions!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions