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

Implementations - Rust + Mx #34

Open
virgil-serbanuta opened this issue Aug 26, 2024 · 0 comments
Open

Implementations - Rust + Mx #34

virgil-serbanuta opened this issue Aug 26, 2024 · 0 comments
Labels

Comments

@virgil-serbanuta
Copy link
Member

Needed for #12

This requires a bit of design work before implementing. We can do the following:

  • Add structs and implementations to the syntax, write .rs files with implementations, load + run that. We may still need hacks for things like self.blockchain(). We may also need Rust operations on bytes.
  • Implement these as Rust code written in K, then add some glue code so that these structs + implementations work properly without properly implementing structs + implementations. We may also need Rust operations on bytes.
  • Write Rust code that translates code like self.blockchain() or BigUint::zero() or first_biguint + second_biguint directly in the required results or hooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@virgil-serbanuta and others