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

Implement C-Bindings for polyproto Rust Crate #43

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

Implement C-Bindings for polyproto Rust Crate #43

bitfl0wer opened this issue Nov 19, 2024 · 0 comments

Comments

@bitfl0wer
Copy link
Member

To make polyproto easily available in other programming languages, the Rust crate needs C-Bindings implemented via the C-ABI. These bindings will enable seamless integration with languages like C, Python, and more. Please also review #42. The polyproto Rust crate also needs wasm bindings. Please perform refactors and additions with this in mind to reduce or avoid additional refactors in the future.

Tasks:

  • 1. Review the polyproto Rust crate for compatibility with C-Bindings.
  • 2. Design and implement C-Bindings using Rust’s #[no_mangle] and extern features.
  • 3. Document the C API for external developers, including usage examples.
  • 4. Test the C-Bindings with at least one external programming language.

Skills Required:
• Rust knowledge.
• Understanding of FFIs/ABIs and bindgen/cbindgen
• Experience with cross-language interoperability.

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