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

Improve interface for adding new backends #59

Open
lopeetall opened this issue Mar 24, 2023 · 0 comments
Open

Improve interface for adding new backends #59

lopeetall opened this issue Mar 24, 2023 · 0 comments
Assignees

Comments

@lopeetall
Copy link
Contributor

The backends we have available now were handwritten from scratch, but a lot of the code between the two is similar. Perhaps using Rust traits we can provide an interface that makes it easier for us or any user to include a new backend.

Some things to include in the trait:

  • functions for prove, verify, (and setup if applicable). These often require initializing some structs and performing some preprocessing as required by the backend.
  • bindings for gadgets, e.g. range 32 x; in vamp-ir calls some built-in range gadget in the backend. Related to Synthesize with backend custom features #48
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

4 participants