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

Add Rust FFI implementation #11

Open
3 tasks
mpenciak opened this issue Oct 7, 2022 · 0 comments
Open
3 tasks

Add Rust FFI implementation #11

mpenciak opened this issue Oct 7, 2022 · 0 comments

Comments

@mpenciak
Copy link
Contributor

mpenciak commented Oct 7, 2022

If we will be using this Poseidon repository in the main yatima-lang project to hash our Lurk expressions in the scalar store, it will be important to have an efficient version of the Poseidon hash taken from the Rust implementation.

A resolution to this issue should include

  • An implementation of Poseidon hash calling the Rust implementation via FFI.
  • LSpec tests that ensure the Lean and Rust implementations agree.
  • Benchmarks to compare the relative performance gain between the implementations.
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