-
Notifications
You must be signed in to change notification settings - Fork 121
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 lib as WASM? #231
Comments
Hey, I am interested by this use case as well. To me Deno is written in Rust, so it could be use as-is 🤔. Could you give me the reason why Deno community need a wasm version? |
Deno is written in rust to work with js/ts. For example I would like to have a ts client on deno. If you take node.js, it uses C++ bindings and ready c++ client library, it's about the same here, only rust + deno. I.e. you can take an already ready client in rust, compile into wasm and use in deno applications on ts as a normal dependency. |
I'm also interested in WASM but for Lunatic. Basically I'm building a network for distributed system (see fólkvangr where you compile your services to WASM and execute them using runtime similar to Erlang's Beam as additional security layer. My use case for Pulsar is a notification dispatcher which consumes messages from other services in the network, processes them with Arrow and then forwards them to e.g. admin panel, mobile devices or send emails etc. I will have to do more tests but it may require a feature flag which gates lunatic as dependency for currently unsupported parts of std. In the future, Pulsar should be fully comaptible without any changes once cranelift (rust jit) will be merged as fully featured part of rustc. |
Is it possible to compile lib into wasm?
In this case it will be usable in Deno.
Deno community will be happy and appreciate for that:)
The text was updated successfully, but these errors were encountered: