Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Compile to WASM #2

Open
noClaps opened this issue Feb 4, 2025 · 0 comments
Open

Compile to WASM #2

noClaps opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@noClaps
Copy link
Owner

noClaps commented Feb 4, 2025

We need to figure out a way to compile the Rust code to WASM so that it can run in all environments, including the browser. This may come at a slight performance cost in some cases as WASM is likely slower than native Node-API files, but it will greatly improve the portability of this library. NAPI can be kept even if a WASM build is successful, though if the performance difference is insignificant, it may not be worth it to have and maintain both.

@noClaps noClaps self-assigned this Feb 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant