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

Modules built using Rust/WASM [ON DEMAND] #74

Open
bajtos opened this issue Feb 28, 2023 · 1 comment
Open

Modules built using Rust/WASM [ON DEMAND] #74

bajtos opened this issue Feb 28, 2023 · 1 comment

Comments

@bajtos
Copy link
Member

bajtos commented Feb 28, 2023

Some of the work required to make this happen:

  • Tooling for building a Rust project for Station. This will likely involve Deno’s wasmbuild and possibly other build steps. A minimal solution is to write documentation explaining the manual steps.
  • SDK exposing Zinnia Platform APIs. This can be a light wrapper around js_sys and web_sys crates, plus functions using wasm-bindgen to invoke our custom APIs, e.g. libp2p, Activity Log reporting, and so on.
  • Zinnia CLI need to know how to load and run these modules.
  • Documentation for module builders

Tracking milestone: https://github.com/filecoin-station/zinnia/milestones/4

@bajtos
Copy link
Member Author

bajtos commented Mar 2, 2023

Nice to have: investigate options provided by Deno to optimise ops invocations from WASM. https://crates.io/crates/deno_ops#user-content-wasm-calls

@bajtos bajtos mentioned this issue May 4, 2023
2 tasks
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