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

Support WebAssembly #57

Open
richardanaya opened this issue Feb 15, 2023 · 2 comments
Open

Support WebAssembly #57

richardanaya opened this issue Feb 15, 2023 · 2 comments

Comments

@richardanaya
Copy link

It would be awesome if this were a WebAssembly library wrapped in JS on npm.

@01mf02
Copy link
Owner

01mf02 commented Feb 15, 2023

Do you know of any other Rust projects that have done this?

@flying-sheep
Copy link

flying-sheep commented Jun 5, 2023

Do you know of any other Rust projects that have done this?

Loads. Since Rust compiles statically by default, has a very small runtime (much more C than Go or Java), and has a very new and therefore modern compiler toolchain, Rust is one of the best options to compile to WASM.

I’d guess that most rust-to-wasm packages are built with wasm-pack, live in different repositories than the libraries they wrap and are published to npm.

There’s also other options, e.g.:

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

3 participants