-
Notifications
You must be signed in to change notification settings - Fork 5
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
rewrite to rust #4
Conversation
There's one test (corresponding to |
Ok, it finally passes tests. Not all tests are reimplemented though. Notable things missings are written in the |
It would be nice to have the steps for regenerating the docs documented or even put into a justfile / script. Ideally this would then be added to the docs CI so we ensure the hosted github pages cargo docs are always up-to-date. And the generated intermediary html/pdf files should probably be not checked in, only the source typst? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only did a high level review for now with things that I immediately noticed. The modeler itself seems to be well tested and working fine, so I'll only quickly go over it in a second pass
- use`tracing::debug` - typo for decque - minor docstring changes - remove the rust test of clamp for floats
- visibility changes - re add back docs for CI to work
The stroke modeler is left intact through this, making it possible to redo predictions as if the input was ignored
From a code structure perspective this looks good to me now. Do you want to complete the rest of the tasks in the todo here or should they be done at a later time? One other thing left to do: the README needs an update, mentioning that |
I don't know. I think I can do them now relatively quickly.
|
I'm finishing up changing the error types for the |
Ok, I'll stop there for today
I'll do the rest of the things as a follow-up |
Alright, the change to f64 also looks good to me. I pushed one last improvement for the cpp-bindings and created the archive branch Once the new conflicts are resolved I'll squash-merge |
…deler-rs into Doublonmousse-riir
resolve merge conflicts
Okay, conflicts are finally resolved |
Awesome. Thank you so much again for doing this huge amount of work. :) |
Go from a wrapper to a C++ library to a rust native implementation