open-spaced-repetition / rs-fsrs

Rust-based Scheduler for FSRS
https://crates.io/crates/rs-fsrs
MIT License
24 stars 6 forks source link

bind to other languages #24

Closed asukaminato0721 closed 1 week ago

asukaminato0721 commented 2 months ago

Since sync algorithm between different languages is extremely hard, why not just use bind?

for python[WIP], use https://pyo3.rs

for nodejs, use https://napi.rs/

for other languages, see how https://github.com/apache/opendal/tree/main/bindings did.


just a test, see how it works.

asukaminato0721 commented 2 months ago
asukaminato0721 commented 1 week ago

Current method: Let the community do the basic algorithm, rust binding does the DL things.