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

Make Web Assembly a Tier 1 target #2

Open
3 tasks
teryror opened this issue Mar 6, 2022 · 0 comments
Open
3 tasks

Make Web Assembly a Tier 1 target #2

teryror opened this issue Mar 6, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@teryror
Copy link
Owner

teryror commented Mar 6, 2022

I have worked with WASM barely at all, but from what I know about it, it seems like an environment coca is well suited to. Since it's the way for Rust to target the browser, it's probably worth giving some careful attention.

  • Ensure compatibility going forwards. As of the time of writing, coca at least builds with --target wasm32-unknown-unknown. This should be checked in CI, and we'll also want to run the test suite using wasm-bindgen-test.
  • Make using coca in this environment as painless as possible. Some investigation is required on what exactly this entails - some WASM-specific utilities, most likely, such as a function for conveniently setting up an Arena, for example.
  • Documentation: Make sure that this is clearly communicated in the README (it's probably be a major selling point to some), and include a WASM-specific "Getting Started" section in the docs.
@teryror teryror added the enhancement New feature or request label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant