Coder Social home page Coder Social logo

Comments (4)

AlexErrant avatar AlexErrant commented on June 11, 2024 1

As an FYI, I renamed fsrs-wasm to https://github.com/AlexErrant/fsrs-browser because it very much only runs in the browser. Also, I got that project demoing compute_weights, which is nice. I think all the hard work/proof of concept is done, will iterate as needed.

from fsrs-rs.

L-M-Sherlock avatar L-M-Sherlock commented on June 11, 2024

It's feasible, but the framework doesn't provides a document for that: https://burn-rs.github.io/book/advanced/index.html

from fsrs-rs.

cjdduarte avatar cjdduarte commented on June 11, 2024

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.

from fsrs-rs.

AlexErrant avatar AlexErrant commented on June 11, 2024

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 next_interval exposed to JS, but I'm missing the ability to create an "FSRS" object with weights, so you can't even call it (next_interval). I stopped working on it to chase other shiny objects, but I'll return to it eventually. (Currently trying - and failing - to learn Rust 😬.)

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.

from fsrs-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.