-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
support WASM #99
Comments
It's feasible, but the framework doesn't provides a document for that: https://burn-rs.github.io/book/advanced/index.html |
I would support a migration of Anki Web (frontend) to WASM. However, I understand that it should be entirely rewritten in RUST (another framework). But I think if it were to move forward, it would be a project for the end of 2024/ beginning of 2025. |
Technically speaking, as of this PR, fsrs-rs compiles to WASM, satisfying this issue. However, more work needs to be done to make it usable from Javascript, which is probably what you want. I started work on a wrapper for fsrs-rs here https://github.com/AlexErrant/fsrs-wasm but it's very much a WIP. I got If you're just looking to run the scheduling algorithm, a pure JS solution exists https://github.com/open-spaced-repetition/fsrs.js You only need this repo if you want to run training of the ML model. There's also https://github.com/open-spaced-repetition/rs-fsrs if you're just looking for a scheduler. |
As an FYI, I renamed |
Running locally in the browser and no longer depend large company server.
Support WASM will be nice, is it possible?
The text was updated successfully, but these errors were encountered: