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

Refactor Crate for wasm-bindgen Compatibility #42

Open
4 tasks
bitfl0wer opened this issue Nov 19, 2024 · 0 comments
Open
4 tasks

Refactor Crate for wasm-bindgen Compatibility #42

bitfl0wer opened this issue Nov 19, 2024 · 0 comments

Comments

@bitfl0wer
Copy link
Member

The current polyproto Rust crate requires significant internal refactoring to support building JavaScript/TypeScript libraries via wasm-bindgen. This refactor will ensure that the Rust codebase remains the single source of truth for polyproto implementations. Keep in mind that that this crate will also need C language bindings. If possible, make additions and refactors with this in mind.

Tasks:

  • 1. Analyze the existing codebase in the polyproto Rust crate.
  • 2. Identify areas where refactoring is necessary to enable wasm-bindgen compatibility.
  • 3. Refactor code to make it compatible with wasm-bindgen and ensure proper FFI handling.
  • 4. Test the resulting JavaScript/TypeScript library for functionality.

Skills Required:
• knowledge of Rust programming.
• Experience with wasm-bindgen and FFIs/ABIs or interest in learning about these topics

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

1 participant